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

Function _should_skip_first_node

tensorflow/python/keras/engine/network.py:1853–1856  ·  view source on GitHub ↗

Returns True if the first layer node should not be saved or loaded.

(layer)

Source from the content-addressed store, hash-verified

1851
1852
1853def _should_skip_first_node(layer):
1854 """Returns True if the first layer node should not be saved or loaded."""
1855 # Networks start with a pre-existing node linking their input to output.
1856 return issubclass(layer.__class__, Network) and layer._is_graph_network
1857
1858
1859def _serialize_tensors(kwargs):

Callers 2

get_configMethod · 0.85
from_configMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected