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

Function clone_and_build_model

tensorflow/tensorflow/python/keras/models.py:564–692  ·  view source on GitHub ↗

Clone a `Model` and build/compile it with the same settings used before. This function can be be run in the same graph or in a separate graph from the model. When using a separate graph, `in_place_reset` must be `False`. Note that, currently, the clone produced from this function may not wor

(
    model, input_tensors=None, target_tensors=None, custom_objects=None,
    compile_clone=True, in_place_reset=False, optimizer_iterations=None,
    optimizer_config=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 9

CustomObjectScopeClass · 0.90
clone_modelFunction · 0.85
allFunction · 0.85
_set_inputsMethod · 0.80
placeholderMethod · 0.45
from_configMethod · 0.45
get_configMethod · 0.45
compileMethod · 0.45

Tested by

no test coverage detected