towhee.operator.base.PyOperator¶
- class towhee.operator.base.PyOperator[source]¶
Bases:
OperatorPython function operator, no machine learning frameworks involved.
Methods
Attributes
flagkeyshared_type- abstract __call__()¶
The framework calls __call__ function repeatedly for every input data.
Args:
Returns:
- Raises:
An exception during __init__ can terminate the graph run. –