Searched refs:model_class (Results 1 – 10 of 10) sorted by relevance
/external/tensorflow/tensorflow/python/keras/utils/ |
D | version_utils_test.py | 39 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/ |
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/compiler/tensorrt/ |
D | trt_convert_test.py | 627 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/ |
D | test_django_storage.py | 53 self.assertEqual(storage.model_class, FakeCredentialsModel)
|
/external/tensorflow/tensorflow/python/keras/saving/saved_model/ |
D | load.py | 932 model_class = training_lib.Model 934 model_class = training_lib_v1.Model 940 constants.MODEL_IDENTIFIER: (RevivedNetwork, model_class),
|
/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
|