MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / _clone_layer

Function _clone_layer

tensorflow/python/keras/models.py:56–57  ·  view source on GitHub ↗
(layer)

Source from the content-addressed store, hash-verified

54
55
56def _clone_layer(layer):
57 return layer.__class__.from_config(layer.get_config())
58
59
60def _insert_ancillary_layers(model, ancillary_layers, metrics_names, new_nodes):

Callers 1

_clone_sequential_modelFunction · 0.85

Calls 2

from_configMethod · 0.45
get_configMethod · 0.45

Tested by

no test coverage detected