Method
__init__
(self, batch_size, device_id, seed, image_dir, function)
Source from the content-addressed store, hash-verified
| 161 | |
| 162 | class SinkTestPipeline(CommonPipeline): |
| 163 | def __init__(self, batch_size, device_id, seed, image_dir, function): |
| 164 | super().__init__(batch_size, 1, device_id, seed, image_dir) |
| 165 | self.python_function = ops.PythonFunction(function=function, num_outputs=0) |
| 166 | |
| 167 | def define_graph(self): |
| 168 | images, labels = self.load() |
Callers
nothing calls this directly
Tested by
no test coverage detected