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.py39 def _check_model_class(self, model_class): argument
41 self.assertEqual(model_class, training.Model)
43 self.assertEqual(model_class, training_v1.Model)
67 model_class = model.__class__.__bases__[0].__bases__[0]
68 self._check_model_class(model_class)
84 model_class = model.__class__.__bases__[0].__bases__[0]
85 self._check_model_class(model_class)
90 model_class = model.__class__.__bases__[0].__bases__[0]
91 self._check_model_class(model_class)
102 model_class = model.__class__.__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/compiler/tensorrt/
Dtrt_convert_test.py627 def _CompareSavedModel(self, model_class): argument
630 def _GetModelPaths(model_class): argument
632 root = model_class()
667 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/tensorflow/tensorflow/python/keras/saving/saved_model/
Dload.py932 model_class = training_lib.Model
934 model_class = training_lib_v1.Model
940 constants.MODEL_IDENTIFIER: (RevivedNetwork, model_class),
/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