(self, x=0, y=0, tiling=2)
| 354 | """ |
| 355 | |
| 356 | def __init__(self, x=0, y=0, tiling=2): |
| 357 | tiling = (tiling, tiling) if isinstance(tiling, int) else tiling |
| 358 | assert 0 <= x < tiling[0] |
| 359 | assert 0 <= y < tiling[1] |
| 360 | self.tiling = torch.as_tensor(tiling) |
| 361 | self.x = x |
| 362 | self.y = y |
| 363 | |
| 364 | def _process(self, data): |
| 365 | # Compute the xy coordinates in the tiling grid, for each point |
nothing calls this directly
no outgoing calls
no test coverage detected