Home
last modified time | relevance | path

Searched refs:_is_graph_network (Results 1 – 19 of 19) sorted by relevance

/external/tensorflow/tensorflow/python/keras/engine/
Ddeferred_sequential_test.py46 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)
Dtraining_utils.py187 return ((hasattr(layer, '_is_graph_network') and layer._is_graph_network) or
Dsequential.py485 if not self._is_graph_network and self._build_input_shape is not None:
Dtraining.py279 self._is_graph_network = False
386 if self._is_graph_network:
2278 if not self._is_graph_network and not self.built:
Dtraining_v1.py2350 elif not self._is_graph_network:
2414 if not self._is_graph_network:
2444 if self._is_graph_network and not run_eagerly:
Dfunctional_test.py2494 self.assertTrue(m._is_graph_network)
2506 self.assertTrue(m._is_graph_network)
2516 self.assertFalse(m._is_graph_network)
Dfunctional.py129 self._is_graph_network = True
/external/tensorflow/tensorflow/python/keras/
Dkeras_parameterized_test.py62 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)
Dmodels.py170 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 networks
506 if isinstance(layer, training.Model) and not layer._is_graph_network:
574 assert not model._is_graph_network
654 if model._is_graph_network:
658 if (not clone._is_graph_network and model._build_input_shape is not None):
Dcombinations_test.py122 self.assertTrue(models[0]._is_graph_network)
123 self.assertFalse(models[1]._is_graph_network)
Dmodels_test.py117 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)
Dcallbacks.py1316 not model._is_graph_network and # pylint: disable=protected-access
2230 self.model._is_graph_network or # pylint: disable=protected-access
/external/tensorflow/tensorflow/python/keras/saving/saved_model/
Dmodel_serialization.py38 metadata['is_graph_network'] = self.obj._is_graph_network # pylint: disable=protected-access
Dload.py222 def _is_graph_network(layer): function
228 return (layer._is_graph_network or
415 if _is_graph_network(node) and generic_utils.validate_config(config):
873 if _is_graph_network(layer):
/external/tensorflow/tensorflow/python/keras/saving/
Dsave.py139 if (not model._is_graph_network and # pylint:disable=protected-access
Dsaved_model_experimental.py169 if not model._is_graph_network: # pylint: disable=protected-access
/external/tensorflow/tensorflow/python/keras/utils/
Dvis_utils.py136 if not model._is_graph_network:
Dlayer_utils.py132 elif not model._is_graph_network:
/external/tensorflow/tensorflow/python/keras/tests/
Dintegration_test.py48 not model._is_graph_network):