| 161 | |
| 162 | |
| 163 | class PythonOperatorPipeline(Pipeline): |
| 164 | def __init__(self): |
| 165 | super().__init__(1, 1, 0, 0) |
| 166 | self.python_op = ops.PythonFunction(function=lambda: np.zeros((3, 3, 3))) |
| 167 | |
| 168 | def define_graph(self): |
| 169 | return self.python_op() |
| 170 | |
| 171 | |
| 172 | @raises( |
no outgoing calls