Method
__init__
(self, batch_size, num_threads, device_id, seed, image_dir)
Source from the content-addressed store, hash-verified
| 268 | |
| 269 | class RotatePipeline(CommonPipeline): |
| 270 | def __init__(self, batch_size, num_threads, device_id, seed, image_dir): |
| 271 | super().__init__(batch_size, num_threads, device_id, seed, image_dir) |
| 272 | self.rotate = ops.Rotate(angle=90.0, interp_type=types.INTERP_NN) |
| 273 | |
| 274 | def define_graph(self): |
| 275 | images, labels = self.load() |
Callers
nothing calls this directly
Tested by
no test coverage detected