r"""Move the hypergraph to the specified device. Args: ``device`` (``torch.device``): The target device.
(self, device: torch.device)
| 147 | return hg |
| 148 | |
| 149 | def to(self, device: torch.device): |
| 150 | r"""Move the hypergraph to the specified device. |
| 151 | |
| 152 | Args: |
| 153 | ``device`` (``torch.device``): The target device. |
| 154 | """ |
| 155 | return super().to(device) |
| 156 | |
| 157 | # ===================================================================================== |
| 158 | # some construction functions |
no outgoing calls
no test coverage detected