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

Function _make_new_nodes

tensorflow/tensorflow/python/keras/models.py:73–125  ·  view source on GitHub ↗

Uses the layers in `layer_map` to make new nodes based on `nodes_by_depth`. Args: nodes_by_depth: Provides structure information to create new nodes. layer_fn: Function to clone layers. layer_map: Map from layers in `model` to new layers. tensor_map: Map from tensors in `model` to

(nodes_by_depth, layer_fn, layer_map, tensor_map)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

_clone_functional_modelFunction · 0.85
_clone_sequential_modelFunction · 0.85

Calls 5

allFunction · 0.85
keysMethod · 0.45
sortMethod · 0.45
flattenMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected