MCPcopy Create free account
hub / github.com/PanJinquan/tensorflow_models_learning / deploy

Function deploy

slim/deployment/model_deploy.py:312–413  ·  view source on GitHub ↗

Deploys a Slim-constructed model across multiple clones. The deployment options are specified by the config object and support deploying one or several clones on different GPUs and one or several replicas of such clones. The argument `model_fn` is called `config.num_clones` times to create

(config,
           model_fn,
           args=None,
           kwargs=None,
           optimizer=None,
           summarize_gradients=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 6

create_clonesFunction · 0.85
optimize_clonesFunction · 0.85
_add_gradients_summariesFunction · 0.85
_gather_clone_lossFunction · 0.85
optimizer_deviceMethod · 0.80
variables_deviceMethod · 0.80

Tested by

no test coverage detected