class_docstr: Wrapper class for overridden python method definitions.
  
  This class contains python methods that overrides C++ virtual functions
  declared in `pywrap_function_lib.PyFunctionLibrary`.
class_docstr_tok: ["Wrapper","class","for","overridden","python","method","definitions",".","This","class","contains","python","methods","that","overrides","C++","virtual","functions","declared","in","`","pywrap_function_lib.PyFunctionLibrary","`","."]
docstr: Saves `ExportedModel` to `dst_saved_model_path` as a SavedModel.
  
  Args:
    dst_saved_model_path: Destination path to save the exported model.
    exported_model_serialized: Exported model to export as SavedModel.
    src_saved_model_path: Path to the source SavedModel. This will be used to
      copy the asset files to `dst_saved_model_path`.
    tags: Tags to attach to the saved MetaGraphDef.
    serialized_signature_def_map: Signature key -> serialized SignatureDef.
docstr_tok: ["Saves","`","ExportedModel","`","to","`","dst_saved_model_path","`","as","a","SavedModel",".","Args",":","dst_saved_model_path",":","Destination","path","to","save","the","exported","model",".","exported_model_serialized",":","Exported","model","to","export","as","SavedModel",".","src_saved_model_path",":","Path","to","the","source","SavedModel",".","This","will","be","used","to","copy","the","asset","files","to","`","dst_saved_model_path","`",".","tags",":","Tags","to","attach","to","the","saved","MetaGraphDef",".","serialized_signature_def_map",":","Signature","key","-",">","serialized","SignatureDef","."]
code: def save_exported_model(
      self,
      dst_saved_model_path: str,
      exported_model_serialized: bytes,
      src_saved_model_path: str,
      tags: set[str],
      serialized_signature_def_map: dict[str, bytes],
  ) -> None:
      # LINT.ThenChange(py_function_lib.h:save_exported_model)
      """Saves `ExportedModel` to `dst_saved_model_path` as a SavedModel.
  
      Args:
        dst_saved_model_path: Destination path to save the exported model.
        exported_model_serialized: Exported model to export as SavedModel.
        src_saved_model_path: Path to the source SavedModel. This will be used to
          copy the asset files to `dst_saved_model_path`.
        tags: Tags to attach to the saved MetaGraphDef.
        serialized_signature_def_map: Signature key -> serialized SignatureDef.
      """
      exported_model = exported_model_pb2.ExportedModel.FromString(
          exported_model_serialized
      )
  
      # Deserialize values in signature_def_map.
      signature_def_map = {}
      for (
          key,
          serialized_signature_def,
      ) in serialized_signature_def_map.items():
          signature_def_map[
              key
          ] = meta_graph_pb2.SignatureDef.FromString(
              serialized_signature_def
          )
  
      save_model.save_model_v1(
          exported_model.graph_def,
          dst_saved_model_path,
          signature_def_map,
          tags,
          init_op_name=exported_model.init_node_name,
          saver_def=_get_saver_def_or_none(exported_model),
          checkpoint_dir=exported_model.checkpoint_dir,
          function_aliases=exported_model.function_aliases,
          asset_file_defs=exported_model.asset_file_defs,
      )
  
      _copy_assets(src_saved_model_path, dst_saved_model_path)
  
imports: from collections.abc import Callable, Collection, Mapping, Sequence
  from typing import Optional
  from absl import logging
  from tensorflow.compiler.mlir.quantization.tensorflow import exported_model_pb2
  from tensorflow.compiler.mlir.quantization.tensorflow import quantization_options_pb2
  from tensorflow.compiler.mlir.quantization.tensorflow.calibrator import calibration_algorithm
  from tensorflow.compiler.mlir.quantization.tensorflow.calibrator import calibration_statistics_pb2
  from tensorflow.compiler.mlir.quantization.tensorflow.calibrator import pywrap_calibration
  from tensorflow.compiler.mlir.quantization.tensorflow.python import pywrap_function_lib
  from tensorflow.compiler.mlir.quantization.tensorflow.python import representative_dataset
  from tensorflow.compiler.mlir.quantization.tensorflow.python import save_model
  from tensorflow.core.protobuf import meta_graph_pb2
  from tensorflow.core.protobuf import saver_pb2
  from tensorflow.python.client import session
  from tensorflow.python.eager import context
  from tensorflow.python.eager import wrap_function
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor_conversion
  from tensorflow.python.lib.io import file_io
  from tensorflow.python.saved_model import load
  from tensorflow.python.saved_model import loader_impl
  from tensorflow.python.trackable import autotrackable
  from tensorflow.python.types import core
label_desc: Use image node_id 1 for calling the PyFunctionLibrary obj's underlying member method code with example usage: obj.save_exported_model(dst_saved_model_path, exported_model_serialized, src_saved_model_path, tags, serialized_signature_def_map) without return types