Copy `SampledSubgraph` to the pinned memory using reflection.
(self)
| 497 | return self |
| 498 | |
| 499 | def pin_memory(self): |
| 500 | """Copy `SampledSubgraph` to the pinned memory using reflection.""" |
| 501 | |
| 502 | return self.to("pinned") |
| 503 | |
| 504 | def is_pinned(self) -> bool: |
| 505 | """Check whether `SampledSubgraph` is pinned using reflection.""" |