Home
last modified time | relevance | path

Searched refs:custom_objects (Results 1 – 25 of 116) sorted by relevance

12345

/external/tensorflow/tensorflow/python/keras/saving/
Dmodel_config.py35 def model_from_config(config, custom_objects=None): argument
55 return deserialize(config, custom_objects=custom_objects)
59 def model_from_yaml(yaml_string, custom_objects=None): argument
78 return deserialize(config, custom_objects=custom_objects)
82 def model_from_json(json_string, custom_objects=None): argument
96 return deserialize(config, custom_objects=custom_objects)
Dsaved_model.py50 custom_objects=None, argument
118 _save_v1_format(model, saved_model_path, custom_objects, as_text,
145 def _save_v1_format(model, path, custom_objects, as_text, input_signature): argument
180 'custom_objects': custom_objects,
213 mode, has_saved_vars, builder, model, custom_objects, checkpoint_path, argument
251 model, input_tensors=input_tensors, custom_objects=custom_objects,
351 def load_from_saved_model(saved_model_path, custom_objects=None): argument
393 model = model_from_json(model_json, custom_objects=custom_objects)
Dhdf5_format.py145 def load_model(filepath, custom_objects=None, compile=True): # pylint: disable=redefined-builtin argument
173 if not custom_objects:
174 custom_objects = {}
197 if obj in custom_objects:
198 return custom_objects[obj]
215 custom_objects=custom_objects)
230 optimizer_config, custom_objects=custom_objects)
/external/tensorflow/tensorflow/python/keras/utils/
Dgeneric_utils.py62 self.custom_objects = args
67 for objects in self.custom_objects:
150 custom_objects=None, argument
158 if custom_objects and class_name in custom_objects:
159 cls = custom_objects[class_name]
173 custom_objects=None, argument
181 config, module_objects, custom_objects, printable_module_name)
185 custom_objects = custom_objects or {}
190 custom_objects=dict(
192 list(custom_objects.items())))
[all …]
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.keras.models.pbtxt17 …argspec: "args=[\'filepath\', \'custom_objects\', \'compile\'], varargs=None, keywords=None, defau…
21 …argspec: "args=[\'config\', \'custom_objects\'], varargs=None, keywords=None, defaults=[\'None\'],…
25 …argspec: "args=[\'json_string\', \'custom_objects\'], varargs=None, keywords=None, defaults=[\'Non…
29 …argspec: "args=[\'yaml_string\', \'custom_objects\'], varargs=None, keywords=None, defaults=[\'Non…
Dtensorflow.keras.experimental.pbtxt29 …argspec: "args=[\'model\', \'saved_model_path\', \'custom_objects\', \'as_text\', \'input_signatur…
33 …argspec: "args=[\'saved_model_path\', \'custom_objects\'], varargs=None, keywords=None, defaults=[…
Dtensorflow.keras.estimator.pbtxt5 …argspec: "args=[\'keras_model\', \'keras_model_path\', \'custom_objects\', \'model_dir\', \'config…
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.keras.models.pbtxt17 …argspec: "args=[\'filepath\', \'custom_objects\', \'compile\'], varargs=None, keywords=None, defau…
21 …argspec: "args=[\'config\', \'custom_objects\'], varargs=None, keywords=None, defaults=[\'None\'],…
25 …argspec: "args=[\'json_string\', \'custom_objects\'], varargs=None, keywords=None, defaults=[\'Non…
29 …argspec: "args=[\'yaml_string\', \'custom_objects\'], varargs=None, keywords=None, defaults=[\'Non…
Dtensorflow.keras.experimental.pbtxt29 …argspec: "args=[\'model\', \'saved_model_path\', \'custom_objects\', \'as_text\', \'input_signatur…
33 …argspec: "args=[\'saved_model_path\', \'custom_objects\'], varargs=None, keywords=None, defaults=[…
Dtensorflow.keras.estimator.pbtxt5 …argspec: "args=[\'keras_model\', \'keras_model_path\', \'custom_objects\', \'model_dir\', \'config…
Dtensorflow.optimizers.schedules.pbtxt25 …argspec: "args=[\'config\', \'custom_objects\'], varargs=None, keywords=None, defaults=[\'None\'],…
Dtensorflow.keras.optimizers.schedules.pbtxt25 …argspec: "args=[\'config\', \'custom_objects\'], varargs=None, keywords=None, defaults=[\'None\'],…
/external/tensorflow/tensorflow/python/keras/estimator/
D__init__.py33 custom_objects=None, argument
71 custom_objects=custom_objects,
/external/tensorflow/tensorflow/python/keras/layers/
Dserialization.py55 def deserialize(config, custom_objects=None): argument
75 custom_objects=custom_objects,
Dwrappers.py79 def from_config(cls, config, custom_objects=None): argument
82 config.pop('layer'), custom_objects=custom_objects)
622 def from_config(cls, config, custom_objects=None): argument
625 custom_objects=custom_objects)
Dcore.py830 def from_config(cls, config, custom_objects=None): argument
841 if custom_objects:
842 globs.update(custom_objects)
848 custom_objects=custom_objects,
869 custom_objects=custom_objects,
Dwrappers_test.py593 custom_objects = {'_RNNCellWithConstants': _RNNCellWithConstants}
594 with keras.utils.CustomObjectScope(custom_objects):
611 with keras.utils.CustomObjectScope(custom_objects):
620 with keras.utils.CustomObjectScope(custom_objects):
636 custom_objects = {'_RNNCellWithConstants': _RNNCellWithConstants}
637 with keras.utils.CustomObjectScope(custom_objects):
659 with keras.utils.CustomObjectScope(custom_objects):
673 with keras.utils.CustomObjectScope(custom_objects):
/external/tensorflow/tensorflow/python/keras/
Dregularizers.py94 def deserialize(config, custom_objects=None): argument
98 custom_objects=custom_objects,
Dactivations.py245 def deserialize(name, custom_objects=None): argument
249 custom_objects=custom_objects,
Dconstraints.py190 def deserialize(config, custom_objects=None): argument
194 custom_objects=custom_objects,
Dinitializers.py164 def deserialize(config, custom_objects=None): argument
179 custom_objects=custom_objects,
Dmodels.py436 model, input_tensors=None, target_tensors=None, custom_objects=None, argument
483 if custom_objects:
484 with CustomObjectScope(custom_objects):
/external/tensorflow/tensorflow/python/feature_column/
Dfeature_column_v2.py2279 def _from_config(cls, config, custom_objects=None, columns_by_name=None): argument
2821 def _from_config(cls, config, custom_objects=None, columns_by_name=None): argument
2826 config['normalizer_fn'], custom_objects=custom_objects)
2975 def _from_config(cls, config, custom_objects=None, columns_by_name=None): argument
2980 config['source_column'], custom_objects, columns_by_name)
3204 def _from_config(cls, config, custom_objects=None, columns_by_name=None): argument
3209 config['categorical_column'], custom_objects, columns_by_name)
3211 config['initializer'], custom_objects=custom_objects)
3390 def _from_config(cls, config, custom_objects=None, columns_by_name=None): argument
3511 def _from_config(cls, config, custom_objects=None, columns_by_name=None): argument
[all …]
/external/tensorflow/tensorflow/contrib/seq2seq/python/ops/
Dattention_wrapper.py518 def deserialize_inner_layer_from_config(cls, config, custom_objects): argument
540 custom_objects=custom_objects)
545 custom_objects=custom_objects)
851 def from_config(cls, config, custom_objects=None): argument
853 config, custom_objects=custom_objects)
1145 def from_config(cls, config, custom_objects=None): argument
1147 config, custom_objects=custom_objects)
1632 def from_config(cls, config, custom_objects=None): argument
1634 config, custom_objects=custom_objects)
1870 def from_config(cls, config, custom_objects=None): argument
[all …]
/external/tensorflow/tensorflow/python/keras/engine/
Dsequential.py339 def from_config(cls, config, custom_objects=None): argument
351 custom_objects=custom_objects)

12345