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

Function clone_model

tensorflow/tensorflow/python/keras/models.py:367–409  ·  view source on GitHub ↗

Clone any `Model` instance. Model cloning is similar to calling a model on new inputs, except that it creates new layers (and thus new weights) instead of sharing the weights of the existing layers. Arguments: model: Instance of `Model` (could be a functional model or a Seq

(model, input_tensors=None, clone_function=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

multi_gpu_modelFunction · 0.90
clone_and_build_modelFunction · 0.85

Calls 2

_clone_sequential_modelFunction · 0.85
_clone_functional_modelFunction · 0.85

Tested by

no test coverage detected