- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for SaveOptions (0.19 sec)
-
tensorflow/cc/saved_model/image_format/README.md
If you are a TensorFlow Python user, you can try this format by setting the `experimental_image_format` option: ``` tf.savedmodel.save( model, path, options=tf.saved_model.SaveOptions(experimental_image_format=True) ) ``` When this option is enabled, exported SavedModels with proto size > 2GB will automatically save with the new format (`.cpb` instead of `.pb`). <!-- **Compatibility** -->
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Aug 29 22:11:19 UTC 2023 - 674 bytes - Viewed (0) -
tensorflow/cc/saved_model/testdata/generate_saved_models.py
if not module_ctor: print("Expected ModuleName to be one of:", MODULE_CTORS.keys()) return 2 os.makedirs(export_path) tf_module = module_ctor() if version == 2: options = save_options.SaveOptions(save_debug_info=True) saved_model.save(tf_module, export_path, options=options) else: builder = saved_model.builder.SavedModelBuilder(export_path) builder.add_meta_graph_and_variables(tf_module, ["serve"])
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Sep 18 18:06:18 UTC 2023 - 4.6K bytes - Viewed (0)