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

Class _WrapperFunction

tensorflow/tensorflow/python/saved_model/load.py:65–99  ·  view source on GitHub ↗

A class wraps a concrete function to handle different distributed contexts. The reason for wrapping a concrete function is because the _captured_inputs fields used for in-replica context and cross-replica context are different. When `load()` is called from within a tf.distribute.strategy scop

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected