Returns True if the first layer node should not be saved or loaded.
(layer)
| 1851 | |
| 1852 | |
| 1853 | def _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 | |
| 1859 | def _serialize_tensors(kwargs): |
no outgoing calls
no test coverage detected