Home
last modified time | relevance | path

Searched refs:save_format (Results 1 – 25 of 50) sorted by relevance

12

/external/tensorflow/tensorflow/python/keras/saving/
Dsave_test.py101 save.save_model(self.model, path, save_format='h5')
106 save.save_model(self.subclassed_model, path, save_format='h5')
113 save.save_model(self.model, path, save_format='h5')
119 save.save_model(self.model, path, save_format='tf')
122 save.save_model(self.subclassed_model, path, save_format='tf')
124 save.save_model(self.subclassed_model, path, save_format='tf')
130 save.save_model(self.model, path, save_format='tf')
138 save.save_model(self.model, path, save_format='tf')
146 self.model.save_weights(path, save_format='tf')
154 self.model.save_weights(path, save_format='h5')
[all …]
Dsave.py48 save_format=None, argument
131 save_format = save_format or default_format
135 if (save_format == 'h5' or
Dsave_weights_test.py64 save_format = testing_utils.get_save_format()
83 model.save_weights(saved_model_dir, save_format=save_format)
246 save_format = testing_utils.get_save_format()
273 model.save_weights(saved_model_dir, save_format=save_format)
369 save_format = testing_utils.get_save_format()
371 if save_format == 'h5' and testing_utils.get_model_type() == 'subclass':
382 model.save(save_path, save_format=save_format)
416 model.save_weights(prefix, save_format='tensorflow')
417 model.save_weights(prefix, save_format='tensorflow', overwrite=True)
420 model.save_weights(prefix, save_format='tensorflow', overwrite=False)
[all …]
Dsaved_model_experimental.py163 model.save_weights(checkpoint_prefix, save_format='tf', overwrite=True)
313 clone.save_weights(checkpoint_path, save_format='tf', overwrite=True)
/external/tensorflow/tensorflow/python/keras/preprocessing/
Dimage.py367 save_format='png', argument
392 save_format=save_format,
438 save_format='png', argument
458 save_format=save_format,
550 save_format='png', argument
572 save_format=save_format,
826 save_format='png', argument
879 save_format=save_format,
893 save_format='png', argument
971 save_format=save_format,
[all …]
/external/tensorflow/tensorflow/python/keras/tests/
Dmodel_architectures_test.py77 save_format = testing_utils.get_save_format()
85 elif ('subclassed' in model_fn.__name__ and save_format == 'h5'):
99 keras.models.save_model(model, saved_model_dir, save_format=save_format)
Dintegration_test.py45 save_format = 'tf'
50 save_format = 'h5'
51 model.save(fpath, save_format=save_format)
322 model.save(output_path, save_format='tf')
/external/tensorflow/tensorflow/python/keras/saving/saved_model/
Drevive_test.py308 model.save(self.path, save_format='tf')
319 model.save(self.path, save_format='tf')
328 model.save(self.path, save_format='tf')
336 model.save(self.path, save_format='tf')
345 model.save(self.path, save_format='tf')
357 model.save(self.path, include_optimizer=False, save_format='tf')
370 model.save(self.path, include_optimizer=True, save_format='tf')
379 model.save(self.path, include_optimizer=True, save_format='tf')
387 model.save(self.path, save_format='tf')
Dsaved_model_test.py381 model.save(saved_model_dir, save_format='tf')
399 model.save(saved_model_dir, save_format='tf')
424 model.save(saved_model_dir, save_format='tf')
453 model.save(saved_model_dir, save_format='tf')
508 model.save(saved_model_dir, save_format='tf', signatures={
511 model.save('/tmp/saved', save_format='tf', signatures={
569 model.save(saved_model_dir, save_format='tf')
595 model.save(saved_model_dir, save_format='tf')
618 model.save(saved_model_dir, save_format='tf')
641 model.save(saved_model_dir, save_format='tf')
[all …]
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.keras.preprocessing.image.-image-data-generator.pbtxt19 …le\', \'sample_weight\', \'seed\', \'save_to_dir\', \'save_prefix\', \'save_format\', \'subset\'],…
23 …tch_size\', \'shuffle\', \'seed\', \'save_to_dir\', \'save_prefix\', \'save_format\', \'subset\', …
27 …tch_size\', \'shuffle\', \'seed\', \'save_to_dir\', \'save_prefix\', \'save_format\', \'follow_lin…
Dtensorflow.keras.preprocessing.image.-directory-iterator.pbtxt27 …ffle\', \'seed\', \'data_format\', \'save_to_dir\', \'save_prefix\', \'save_format\', \'follow_lin…
43 …, \'color_mode\', \'data_format\', \'save_to_dir\', \'save_prefix\', \'save_format\', \'subset\', …
Dtensorflow.keras.preprocessing.image.-numpy-array-iterator.pbtxt11 …ight\', \'seed\', \'data_format\', \'save_to_dir\', \'save_prefix\', \'save_format\', \'subset\', …
Dtensorflow.keras.models.pbtxt33 …argspec: "args=[\'model\', \'filepath\', \'overwrite\', \'include_optimizer\', \'save_format\', \'…
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.keras.preprocessing.image.-image-data-generator.pbtxt19 …le\', \'sample_weight\', \'seed\', \'save_to_dir\', \'save_prefix\', \'save_format\', \'subset\'],…
23 …tch_size\', \'shuffle\', \'seed\', \'save_to_dir\', \'save_prefix\', \'save_format\', \'subset\', …
27 …tch_size\', \'shuffle\', \'seed\', \'save_to_dir\', \'save_prefix\', \'save_format\', \'follow_lin…
Dtensorflow.keras.preprocessing.image.-directory-iterator.pbtxt27 …ffle\', \'seed\', \'data_format\', \'save_to_dir\', \'save_prefix\', \'save_format\', \'follow_lin…
43 …, \'color_mode\', \'data_format\', \'save_to_dir\', \'save_prefix\', \'save_format\', \'subset\', …
Dtensorflow.keras.preprocessing.image.-numpy-array-iterator.pbtxt11 …ight\', \'seed\', \'data_format\', \'save_to_dir\', \'save_prefix\', \'save_format\', \'subset\', …
Dtensorflow.keras.models.pbtxt33 …argspec: "args=[\'model\', \'filepath\', \'overwrite\', \'include_optimizer\', \'save_format\', \'…
/external/tensorflow/tensorflow/python/keras/benchmarks/saved_model_benchmarks/
Dsaved_model_benchmark_util.py45 model.save(save_dir, save_format='tf')
50 model.save(save_dir, save_format='tf')
/external/tensorflow/tensorflow/python/keras/engine/
Dtraining.py2029 save_format=None, argument
2076 save.save_model(self, filepath, overwrite, include_optimizer, save_format,
2082 save_format=None, argument
2147 if save_format is None:
2149 save_format = 'h5'
2151 save_format = 'tf'
2153 user_format = save_format.lower().strip()
2155 save_format = 'tf'
2157 save_format = 'h5'
2161 save_format,))
[all …]
/external/tensorflow/tensorflow/examples/speech_commands/
Dfreeze.py237 if FLAGS.save_format == 'graph_def':
239 elif FLAGS.save_format == 'saved_model':
243 ' "saved_model")' % (FLAGS.save_format))
/external/tensorflow/tensorflow/python/keras/layers/
Dmulti_head_attention_test.py302 keras.models.save_model(model, model_path, save_format="tf")
311 def test_keras_saving_functional(self, save_format): argument
322 keras.models.save_model(model, model_path, save_format=save_format)
/external/tensorflow/tensorflow/python/keras/mixed_precision/
Dkeras_test.py472 def _skip_if_save_format_unsupported(self, save_format): argument
474 if save_format == 'h5' and model_type == 'subclass':
477 if (save_format == 'tf' and model_type == 'subclass' and
548 save_format=None, argument
552 self._skip_if_save_format_unsupported(save_format)
609 if save_format:
612 self._test_saving(model, dataset, save_format, use_regularizer)
614 def _test_saving(self, model, dataset, save_format, use_regularizer): argument
617 model.save(save_path, save_format=save_format)
1198 model.save(save_path, save_format='h5' if h5 else 'tf')
/external/tensorflow/tensorflow/python/keras/distribute/
Dsaved_model_mixed_api_test.py46 save.save_model(model, saved_dir, save_format='tf')
Dkeras_save_load_test.py38 model.save(saved_dir, save_format='tf')
/external/mesa3d/src/gallium/frontends/xa/
Dxa_tracker.c454 unsigned int save_format; in xa_surface_redefine() local
490 save_format = template->format; in xa_surface_redefine()
500 template->format = save_format; in xa_surface_redefine()

12