Searched refs:model_class (Results 1 – 10 of 10) sorted by relevance
/external/tensorflow/tensorflow/python/keras/utils/ |
D | version_utils_test.py | 38 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/ |
D | sqlalchemy.py | 114 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/ |
D | storage.py | 28 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/ |
D | views_common.py | 6 model_class = getattr(models_module, model_name) 8 doc += '<pre>\n%s</pre>\n' % model_class.__doc__
|
/external/python/oauth2client/tests/contrib/ |
D | test_sqlalchemy.py | 73 model_class=DummyModel, 91 model_class=DummyModel, 113 model_class=DummyModel,
|
/external/tensorflow/tensorflow/python/keras/engine/ |
D | control_flow_test.py | 123 def test_control_flow_model(self, model_class): argument 124 model = model_class()
|
/external/tensorflow/tensorflow/python/keras/saving/saved_model/ |
D | load.py | 577 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/ |
D | trt_convert_test.py | 673 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/ |
D | test_django_storage.py | 53 self.assertEqual(storage.model_class, FakeCredentialsModel)
|
/external/autotest/frontend/afe/ |
D | model_logic.py | 311 def _is_relation_to(self, field, model_class): argument 312 return field.rel and field.rel.to is model_class
|