Searched refs:_is_graph_network (Results 1 – 19 of 19) sorted by relevance
46 self.assertTrue(model._is_graph_network)68 self.assertTrue(model._is_graph_network)83 self.assertTrue(model._is_graph_network)98 self.assertTrue(model._is_graph_network)103 self.assertTrue(model._is_graph_network)108 self.assertTrue(model._is_graph_network)
187 return ((hasattr(layer, '_is_graph_network') and layer._is_graph_network) or
485 if not self._is_graph_network and self._build_input_shape is not None:
279 self._is_graph_network = False386 if self._is_graph_network:2278 if not self._is_graph_network and not self.built:
2350 elif not self._is_graph_network:2414 if not self._is_graph_network:2444 if self._is_graph_network and not run_eagerly:
2494 self.assertTrue(m._is_graph_network)2506 self.assertTrue(m._is_graph_network)2516 self.assertFalse(m._is_graph_network)
129 self._is_graph_network = True
62 self.assertTrue(models[0]._is_graph_network)63 self.assertFalse(models[1]._is_graph_network)111 self.assertTrue(models[0]._is_graph_network)112 self.assertFalse(models[1]._is_graph_network)152 self.assertTrue(models[0]._is_graph_network)153 self.assertFalse(models[1]._is_graph_network)192 self.assertFalse(models[0]._is_graph_network)
170 if not model._is_graph_network:270 if not model._is_graph_network:461 assert not model._is_graph_network # Only makes sense for subclassed networks506 if isinstance(layer, training.Model) and not layer._is_graph_network:574 assert not model._is_graph_network654 if model._is_graph_network:658 if (not clone._is_graph_network and model._build_input_shape is not None):
122 self.assertTrue(models[0]._is_graph_network)123 self.assertFalse(models[1]._is_graph_network)
117 self.assertEqual(model._is_graph_network, add_input_layer)128 self.assertEqual(new_model._is_graph_network, model._is_graph_network)139 self.assertTrue(new_model._is_graph_network)152 self.assertTrue(new_model._is_graph_network)
1316 not model._is_graph_network and # pylint: disable=protected-access2230 self.model._is_graph_network or # pylint: disable=protected-access
38 metadata['is_graph_network'] = self.obj._is_graph_network # pylint: disable=protected-access
222 def _is_graph_network(layer): function228 return (layer._is_graph_network or415 if _is_graph_network(node) and generic_utils.validate_config(config):873 if _is_graph_network(layer):
139 if (not model._is_graph_network and # pylint:disable=protected-access
169 if not model._is_graph_network: # pylint: disable=protected-access
136 if not model._is_graph_network:
132 elif not model._is_graph_network:
48 not model._is_graph_network):