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

Function _clone_functional_model

tensorflow/tensorflow/python/keras/models.py:128–229  ·  view source on GitHub ↗

Clone a functional `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. Input layers are always cloned. Arguments: model: Instance of `Model`.

(model, input_tensors=None, layer_fn=_clone_layer)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

clone_modelFunction · 0.85

Calls 8

InputFunction · 0.90
_make_new_nodesFunction · 0.85
_insert_ancillary_layersFunction · 0.85
ModelClass · 0.50
get_configMethod · 0.45
appendMethod · 0.45
flattenMethod · 0.45
valuesMethod · 0.45

Tested by

no test coverage detected