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

Function _remove_ancillary_layers

tensorflow/tensorflow/python/keras/models.py:232–258  ·  view source on GitHub ↗

Removes and returns any ancillary layers from `layers` based on `model`. Ancillary layers are part of the model topology but not used to compute the model outputs, e.g., layers from `add_loss` and `add_metric`. Args: model: A Keras Model. layer_map: A map to from layers in the `model

(model, layer_map, layers)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

_clone_sequential_modelFunction · 0.85

Calls 3

keysMethod · 0.45
sortMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected