r"""Return the source vertex index vector :math:`\overrightarrow{v2e}_{src}` of the connections (vertices point to hyperedges) in the specified hyperedge group. Args: ``group_name`` (``str``): The name of the specified hyperedge group.
(self, group_name: str)
| 645 | return self.H_T._indices()[1].clone() |
| 646 | |
| 647 | def v2e_src_of_group(self, group_name: str) -> torch.Tensor: |
| 648 | r"""Return the source vertex index vector :math:`\overrightarrow{v2e}_{src}` of the connections (vertices point to hyperedges) in the specified hyperedge group. |
| 649 | |
| 650 | Args: |
| 651 | ``group_name`` (``str``): The name of the specified hyperedge group. |
| 652 | """ |
| 653 | assert ( |
| 654 | group_name in self.group_names |
| 655 | ), f"The specified {group_name} is not in existing hyperedge groups." |
| 656 | return self.H_T_of_group(group_name)._indices()[1].clone() |
| 657 | |
| 658 | @property |
| 659 | def v2e_dst(self) -> torch.Tensor: |