Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/python/saved_model/
Dsave_test.py55 from tensorflow.python.saved_model import save_options
514 save_options.VariablePolicy.SAVE_VARIABLE_DEVICES, True),
515 ("_DiscardDevices_ExportMetaGraph", save_options.VariablePolicy.NONE,
517 save_options.VariablePolicy.SAVE_VARIABLE_DEVICES, False),
518 ("_DiscardDevices_Save", save_options.VariablePolicy.NONE, False))
536 options = save_options.SaveOptions(
556 if save_devices == save_options.VariablePolicy.SAVE_VARIABLE_DEVICES:
573 if save_devices == save_options.VariablePolicy.SAVE_VARIABLE_DEVICES:
582 save_options.VariablePolicy.EXPAND_DISTRIBUTED_VARIABLES, True),
584 save_options.VariablePolicy.EXPAND_DISTRIBUTED_VARIABLES, False),
[all …]
Dsave_context_test.py21 from tensorflow.python.saved_model import save_options
31 options = save_options.SaveOptions(save_debug_info=True)
44 options = save_options.SaveOptions(save_debug_info=False)
75 options = save_options.SaveOptions()
Dload_options.py17 from tensorflow.python.saved_model import save_options
119 save_options.VariablePolicy.from_obj(experimental_variable_policy))
DBUILD325 ":save_options",
344 ":save_options",
394 ":save_options",
641 name = "save_options",
642 srcs = ["save_options.py"],
653 ":save_options",
Dload.py146 ckpt_options, save_options, filters): argument
162 self._save_options = save_options
191 if not save_options.experimental_skip_checkpoint:
/external/tensorflow/tensorflow/python/distribute/
Dtf_function_test.py34 from tensorflow.python.saved_model import save_options
164 with save_context.save_context(save_options.SaveOptions()):
169 with save_context.save_context(save_options.SaveOptions()):
189 with save_context.save_context(save_options.SaveOptions()):
194 with save_context.save_context(save_options.SaveOptions()):
Dtpu_replicated_variable.py166 def _map_resources(self, save_options): argument
169 … obj_map, resource_map = first_var._map_resources(save_options) # pylint:disable=protected-access
Dps_values.py227 def _map_resources(self, save_options): argument
231 obj_map, resource_map = self._v._map_resources(save_options) # pylint:disable=protected-access
516 def _map_resources(self, save_options): argument
520 obj_map, resource_map = self._v._map_resources(save_options) # pylint:disable=protected-access
Ddistributed_variable_test.py49 from tensorflow.python.saved_model import save_options
326 options = save_options.SaveOptions(
327 experimental_variable_policy=save_options.VariablePolicy.NONE)
610 options = save_options.SaveOptions()
Dvalues_util.py27 from tensorflow.python.saved_model import save_options
369 save_options.VariablePolicy.EXPAND_DISTRIBUTED_VARIABLES)
/external/tensorflow/tensorflow/core/tfrt/saved_model/tests/
DBUILD45 "//tensorflow/python/saved_model:save_options",
156 "//tensorflow/python/saved_model:save_options",
176 "//tensorflow/python/saved_model:save_options",
202 "//tensorflow/python/saved_model:save_options",
229 "//tensorflow/python/saved_model:save_options",
255 "//tensorflow/python/saved_model:save_options",
281 "//tensorflow/python/saved_model:save_options",
304 "//tensorflow/python/saved_model:save_options",
329 "//tensorflow/python/saved_model:save_options",
386 "//tensorflow/python/saved_model:save_options",
[all …]
Dgen_pow_v2.py27 from tensorflow.python.saved_model import save_options
52 options=save_options.SaveOptions(save_debug_info=False))
Dgen_data.py27 from tensorflow.python.saved_model import save_options
53 options=save_options.SaveOptions(save_debug_info=False))
Dgen_saved_model_v2.py29 from tensorflow.python.saved_model import save_options
59 options=save_options.SaveOptions(save_debug_info=False))
Dgen_matmul_gpu.py31 from tensorflow.python.saved_model import save_options
63 options=save_options.SaveOptions(save_debug_info=False))
Dgen_variable_on_tpu.py31 from tensorflow.python.saved_model import save_options
63 options=save_options.SaveOptions(save_debug_info=False))
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/
Dcommon.py79 save_options = tf.saved_model.SaveOptions(save_debug_info=show_debug_info)
81 create_module_fn(), save_model_path, options=save_options)
/external/tensorflow/tensorflow/compiler/mlir/lite/tests/debuginfo/
Dsaved_model_error.py45 save_options = tf.saved_model.SaveOptions(save_debug_info=True)
46 tf.saved_model.save(test_model, saved_model_path, options=save_options)
/external/tensorflow/tensorflow/lite/examples/experimental_new_converter/
Dstack_trace_example.py48 save_options = tf.saved_model.SaveOptions(save_debug_info=True)
49 tf.saved_model.save(test_model, saved_model_path, options=save_options)
/external/tensorflow/tensorflow/cc/saved_model/testdata/
Dgenerate_saved_models.py32 from tensorflow.python.saved_model import save_options
134 options = save_options.SaveOptions(save_debug_info=True)
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.saved_model.-save-options.pbtxt3 is_instance: "<class \'tensorflow.python.saved_model.save_options.SaveOptions\'>"
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.saved_model.-save-options.pbtxt3 is_instance: "<class \'tensorflow.python.saved_model.save_options.SaveOptions\'>"
/external/python/cpython2/Tools/pynche/
DSwitchboard.py113 v.save_options(self.__optiondb)
/external/python/cpython3/Tools/pynche/
DSwitchboard.py112 v.save_options(self.__optiondb)
/external/tensorflow/tensorflow/python/keras/mixed_precision/
Dautocast_variable.py352 def _map_resources(self, save_options): argument
355 …obj_map, resource_map = self._variable._map_resources(save_options) # pylint:disable=protected-ac…

12