tensorflowCreating a custom operation with tf.py_func (CPU only)


Parameters

ParameterDetails
funcpython function, which takes numpy arrays as its inputs and returns numpy arrays as its outputs
inplist of Tensors (inputs)
Toutlist of tensorflow data types for the outputs of func