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

Function _clone_sequential_model

tensorflow/tensorflow/python/keras/models.py:261–363  ·  view source on GitHub ↗

Clone a `Sequential` 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 `Sequential`. input_tensors: optional li

(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
_clone_layerFunction · 0.85
_remove_ancillary_layersFunction · 0.85
_make_new_nodesFunction · 0.85
_insert_ancillary_layersFunction · 0.85
SequentialClass · 0.50
appendMethod · 0.45
to_listMethod · 0.45

Tested by

no test coverage detected