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

Function is_wrapped_model

tensorflow/python/keras/utils/vis_utils.py:56–60  ·  view source on GitHub ↗
(layer)

Source from the content-addressed store, hash-verified

54
55
56def is_wrapped_model(layer):
57 from tensorflow.python.keras.engine import network
58 from tensorflow.python.keras.layers import wrappers
59 return (isinstance(layer, wrappers.Wrapper) and
60 isinstance(layer.layer, network.Network))
61
62
63def add_edge(dot, src, dst):

Callers 1

model_to_dotFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected