torch\_concepts.ConceptGraph ============================ .. currentmodule:: torch_concepts .. autoclass:: ConceptGraph .. automethod:: __init__ .. rubric:: Methods .. autosummary:: ~ConceptGraph.__init__ ~ConceptGraph.dense_to_sparse ~ConceptGraph.from_sparse ~ConceptGraph.get_ancestors ~ConceptGraph.get_descendants ~ConceptGraph.get_edge_weight ~ConceptGraph.get_leaf_nodes ~ConceptGraph.get_levels ~ConceptGraph.get_predecessors ~ConceptGraph.get_root_nodes ~ConceptGraph.get_successors ~ConceptGraph.has_edge ~ConceptGraph.is_dag ~ConceptGraph.is_directed_acyclic ~ConceptGraph.to_networkx ~ConceptGraph.to_pandas ~ConceptGraph.topological_sort .. rubric:: Attributes .. autosummary:: ~ConceptGraph.data ~ConceptGraph.edge_index ~ConceptGraph.edge_weight ~ConceptGraph.n_nodes