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

Method v2e_weight

easygraph/classes/hypergraph.py:676–679  ·  view source on GitHub ↗

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

(self)

Source from the content-addressed store, hash-verified

674
675 @property
676 def v2e_weight(self) -> torch.Tensor:
677 r"""Return the weight vector :math:`\overrightarrow{v2e}_{weight}` of the connections (vertices point to hyperedges) in the hypergraph.
678 """
679 return self.H_T._values().clone()
680
681 def v2e_weight_of_group(self, group_name: str) -> torch.Tensor:
682 r"""Return the weight vector :math:`\overrightarrow{v2e}_{weight}` 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