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

Function _prepare

tensorflow/tensorflow/python/ops/gradient_checker_v2.py:97–123  ·  view source on GitHub ↗

Return a function that executes 'f'. In TF 2.x, this is the same as `f`. In TF 1.x, returns a Python function that executes the graph defined by `f` in a Session. Args: f: the function. xs_dtypes: dtypes of f's arguments. Returns: a function that will be evaluated in b

(f, xs_dtypes)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

_compute_gradient_listFunction · 0.85

Calls 3

executing_eagerlyMethod · 0.80
fFunction · 0.70
placeholderMethod · 0.45

Tested by

no test coverage detected