mlx_graphs.utils.transformations.get_src_dst_features#
- mlx_graphs.utils.transformations.get_src_dst_features(edge_index: mlx.core.array, node_features: mlx.core.array | tuple[mlx.core.array, mlx.core.array]) tuple[mlx.core.array, mlx.core.array] [source]#
Extracts source and destination node features based on the given edge indices.