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

Method v2e_dst

easygraph/classes/hypergraph.py:659–662  ·  view source on GitHub ↗

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

(self)

Source from the content-addressed store, hash-verified

657
658 @property
659 def v2e_dst(self) -> torch.Tensor:
660 r"""Return the destination hyperedge index vector :math:`\overrightarrow{v2e}_{dst}` of the connections (vertices point to hyperedges) in the hypergraph.
661 """
662 return self.H_T._indices()[0].clone()
663
664 def v2e_dst_of_group(self, group_name: str) -> torch.Tensor:
665 r"""Return the destination hyperedge index vector :math:`\overrightarrow{v2e}_{dst}` of the connections (vertices point to hyperedges) in the specified hyperedge group.

Callers

nothing calls this directly

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected