MCPcopy Create free account
hub / github.com/alibaba/nann / eager_py_func

Function eager_py_func

tensorflow/tensorflow/python/ops/script_ops.py:346–425  ·  view source on GitHub ↗

Wraps a python function into a TensorFlow op that executes it eagerly. This function allows expressing computations in a TensorFlow graph as Python functions. In particular, it wraps a Python function `func` in a once-differentiable TensorFlow operation that executes it with eager execution

(func, inp, Tout, name=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

_internal_py_funcFunction · 0.85

Tested by

no test coverage detected