r"""Message update step of ``hyperedges to vertices`` in specified hyperedge group. Args: ``group_name`` (``str``): The specified hyperedge group. ``X`` (``torch.Tensor``): Vertex feature matrix. Size :math:`(|\mathcal{V}|, C)`.
(self, group_name: str, X: torch.Tensor)
| 1646 | return X |
| 1647 | |
| 1648 | def e2v_update_of_group(self, group_name: str, X: torch.Tensor): |
| 1649 | r"""Message update step of ``hyperedges to vertices`` in specified hyperedge group. |
| 1650 | |
| 1651 | Args: |
| 1652 | ``group_name`` (``str``): The specified hyperedge group. |
| 1653 | ``X`` (``torch.Tensor``): Vertex feature matrix. Size :math:`(|\mathcal{V}|, C)`. |
| 1654 | """ |
| 1655 | assert ( |
| 1656 | group_name in self.group_names |
| 1657 | ), f"The specified {group_name} is not in existing hyperedge groups." |
| 1658 | if self.device != X.device: |
| 1659 | self.to(X.device) |
| 1660 | return X |
| 1661 | |
| 1662 | def e2v( |
| 1663 | self, |