(self, patchsize, stride=None)
| 276 | # Image handling classes. |
| 277 | class PatchMaker: |
| 278 | def __init__(self, patchsize, stride=None): |
| 279 | self.patchsize = patchsize |
| 280 | self.stride = stride |
| 281 | |
| 282 | def patchify(self, features, return_spatial_info=False): |
| 283 | """Convert a tensor into a tensor of respective patches. |
nothing calls this directly
no outgoing calls
no test coverage detected