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

Function optimize_clones

slim/deployment/model_deploy.py:267–309  ·  view source on GitHub ↗

Compute clone losses and gradients for the given list of `Clones`. Note: The regularization_losses are added to the first clone losses. Args: clones: List of `Clones` created by `create_clones()`. optimizer: An `Optimizer` object. regularization_losses: Optional list of regularization

(clones, optimizer,
                    regularization_losses=None,
                    **kwargs)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

deployFunction · 0.85

Calls 2

_optimize_cloneFunction · 0.85
_sum_clones_gradientsFunction · 0.85

Tested by

no test coverage detected