tf.raw_ops.PyFunc

Invokes a python function to compute func(input)->output.

This operation is considered stateful. For a stateless version, see PyFuncStateless.

inputA list of Tensor objects. List of Tensors that will provide input to the Op.
tokenA string. A token representing a registered python function in this address space.
ToutA list of tf.DTypes. Data types of the outputs from the op. The length of the list specifies the number of outputs.
nameA name for the operation (optional).

A list of Tensor objects of type Tout.