MCPcopy Create free account
hub / github.com/NVIDIA/DALI / PythonOperatorPipeline

Class PythonOperatorPipeline

dali/test/python/test_dali_tf_plugin_run.py:163–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161
162
163class 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(

Callers 1

Calls

no outgoing calls

Tested by 1