mlx_graphs.utils.topology.is_undirected#
- mlx_graphs.utils.topology.is_undirected(edge_index: mlx.core.array, edge_features: mlx.core.array | None = None) bool [source]#
Determines whether a graph is undirected based on the given edge index and optional edge features.