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

Method e2v_weight

easygraph/classes/hypergraph.py:727–730  ·  view source on GitHub ↗

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

(self)

Source from the content-addressed store, hash-verified

725
726 @property
727 def e2v_weight(self) -> torch.Tensor:
728 r"""Return the weight vector :math:`\overrightarrow{e2v}_{weight}` of the connections (hyperedges point to vertices) in the hypergraph.
729 """
730 return self.H._values().clone()
731
732 def e2v_weight_of_group(self, group_name: str) -> torch.Tensor:
733 r"""Return the weight vector :math:`\overrightarrow{e2v}_{weight}` 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