Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SavedModelBuilder (0.22 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/python/save_model.py

    
    def _save_function_alias(
        saved_model_dir: str,
        tags: Collection[str],
        function_aliases: Mapping[str, str],
    ) -> None:
      """Saves the function alias to the SavedModel.
    
      SavedModelBuilder (TF1 saved model saver) does not support saving function
      aliases, so this function loads the SavedModel proto and adds the
      `function_aliases` field.
    
      Args:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.py

      ):
        # Convert any non-Tensor values from the sample to Tensors.
        # This conversion is required because the model saved in `model_dir` is
        # saved using TF1 SavedModelBuilder, which doesn't save the
        # SavedObjectGraph.
        func_kwargs = _convert_values_to_tf_tensors(sample)
        func(**func_kwargs)
    
    
    def _run_graph_for_calibration_eager_mode(
        model_dir: str,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 05:32:11 UTC 2024
    - 27.4K bytes
    - Viewed (0)
Back to top