MCPcopy Create free account
hub / github.com/easy-graph/Easy-Graph / e2v_src

Method e2v_src

easygraph/classes/hypergraph.py:693–696  ·  view source on GitHub ↗

r"""Return the source hyperedge index vector :math:`\overrightarrow{e2v}_{src}` of the connections (hyperedges point to vertices) in the hypergraph.

(self)

Source from the content-addressed store, hash-verified

691
692 @property
693 def e2v_src(self) -> torch.Tensor:
694 r"""Return the source hyperedge index vector :math:`\overrightarrow{e2v}_{src}` of the connections (hyperedges point to vertices) in the hypergraph.
695 """
696 return self.H._indices()[1].clone()
697
698 def e2v_src_of_group(self, group_name: str) -> torch.Tensor:
699 r"""Return the source hyperedge index vector :math:`\overrightarrow{e2v}_{src}` of the connections (hyperedges point to vertices) in the specified hyperedge group.

Callers

nothing calls this directly

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected