Keras saving/loading: Remove KerasObjectLoader._load_edges() which appears to be unused.
@@ -608,12 +608,6 @@ class KerasObjectLoader:
return False
- def _load_edges(self):
- """Add edges for all nodes that are not waiting on initialization."""
- for node_id, proto in enumerate(self._proto.nodes):
- if node_id not in self.model_layer_dependencies:
- self._add_object_graph_edges(proto, node_id)
-
def get_path(self, node_id):
return self._node_paths[node_id]
