Home
last modified time | relevance | path

Searched refs:model_class (Results 1 – 10 of 10) sorted by relevance

/external/tensorflow/tensorflow/python/keras/utils/
Dversion_utils_test.py38 def _check_model_class(self, model_class): argument
40 self.assertEqual(model_class, training.Model)
42 self.assertEqual(model_class, training_v1.Model)
52 model_class = model.__class__.__bases__[0]
53 self._check_model_class(model_class)
63 model_class = model.__class__.__bases__[0]
64 self._check_model_class(model_class)
77 model_class = model.__class__.__bases__[0].__bases__[0]
78 self._check_model_class(model_class)
98 model_class = model.__class__.__bases__[0].__bases__[0]
[all …]
/external/python/oauth2client/oauth2client/contrib/
Dsqlalchemy.py114 def __init__(self, session, model_class, key_name, argument
131 self.model_class = model_class
143 query = self.session.query(self.model_class).filter_by(**filters)
161 query = self.session.query(self.model_class).filter_by(**filters)
165 entity = self.model_class(**filters)
173 self.session.query(self.model_class).filter_by(**filters).delete()
/external/python/oauth2client/oauth2client/contrib/django_util/
Dstorage.py28 def __init__(self, model_class, key_name, key_value, property_name): argument
40 self.model_class = model_class
57 entities = self.model_class.objects.filter(**query)
72 entity, _ = self.model_class.objects.get_or_create(
81 self.model_class.objects.filter(**query).delete()
/external/autotest/frontend/
Dviews_common.py6 model_class = getattr(models_module, model_name)
8 doc += '<pre>\n%s</pre>\n' % model_class.__doc__
/external/python/oauth2client/tests/contrib/
Dtest_sqlalchemy.py73 model_class=DummyModel,
91 model_class=DummyModel,
113 model_class=DummyModel,
/external/tensorflow/tensorflow/python/keras/engine/
Dcontrol_flow_test.py123 def test_control_flow_model(self, model_class): argument
124 model = model_class()
/external/tensorflow/tensorflow/python/keras/saving/saved_model/
Dload.py577 model_class = training_lib.Model
579 model_class = training_lib_v1.Model
585 '_tf_keras_model': (RevivedNetwork, model_class),
/external/tensorflow/tensorflow/python/compiler/tensorrt/
Dtrt_convert_test.py673 def _CompareSavedModel(self, model_class): argument
676 def _GetModelPaths(model_class): argument
678 root = model_class()
713 saved_model_path, converted_saved_model_path = _GetModelPaths(model_class)
/external/python/oauth2client/tests/contrib/django_util/
Dtest_django_storage.py53 self.assertEqual(storage.model_class, FakeCredentialsModel)
/external/autotest/frontend/afe/
Dmodel_logic.py311 def _is_relation_to(self, field, model_class): argument
312 return field.rel and field.rel.to is model_class