Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for signature_def_map_serialized (0.3 sec)

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

      Returns:
        Signature def map where the values (`SignatureDef`) are serialized.
      """
      signature_def_map_serialized = {}
      for key, signature_def in signature_def_map.items():
        signature_def_map_serialized[key] = signature_def.SerializeToString()
    
      return signature_def_map_serialized
    
    
    def _has_quantization_method(
        quantization_specs: qc.QuantizationSpecs, method: str
    ) -> bool:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 12:53:33 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/python/pywrap_quantize_model.pyi

    # LINT.IfChange(quantize_qat_model)
    def quantize_qat_model(
        src_saved_model_path: str,
        dst_saved_model_path: str,
        quantization_options_serialized: bytes,
        *,
        signature_keys: list[str],
        signature_def_map_serialized: dict[str, bytes],
        py_function_library: py_function_lib.PyFunctionLibrary,
    ) -> Any: ...  # Status
    
    # LINT.ThenChange()
    
    # LINT.IfChange(quantize_ptq_dynamic_range)
    def quantize_ptq_dynamic_range(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 07 03:47:17 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/python/pywrap_quantize_model.cc

          serialized `SignatureDef` mapping for the `signature_def_map_serialized`
          argument.
          )pbdoc",
          py::arg("src_saved_model_path"), py::arg("dst_saved_model_path"),
          py::arg("quantization_options_serialized"), py::kw_only(),
          py::arg("signature_keys"), py::arg("signature_def_map_serialized"),
          py::arg("py_function_library"));
    
      m.def(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 09 06:33:29 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/python/pywrap_quantization.cc

            serialized `SignatureDef` mapping for the `signature_def_map_serialized`
            argument.
    
            Raises `StatusNotOk` exception if when the run was unsuccessful.
            )pbdoc",
            py::arg("src_saved_model_path"), py::arg("dst_saved_model_path"),
            py::arg("quantization_config_serialized"), py::kw_only(),
            py::arg("signature_keys"), py::arg("signature_def_map_serialized"),
            py::arg("py_function_library"));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 13:51:40 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/python/pywrap_quantization.pyi

    # LINT.IfChange(static_range_ptq)
    def static_range_ptq(
        src_saved_model_path: str,
        dst_saved_model_path: str,
        quantization_config_serialized: bytes,
        *,
        signature_keys: list[str],
        signature_def_map_serialized: dict[str, bytes],
        py_function_library: py_function_lib.PyFunctionLibrary,
    ) -> Any: ...  # Status
    
    # LINT.ThenChange()
    
    # LINT.IfChange(weight_only_ptq)
    def weight_only_ptq(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 13:51:40 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/python/pywrap_quantize_model_test.py

          pywrap_quantize_model.quantize_ptq_static_range(
              src_saved_model_path,
              dst_saved_model_path,
              quant_opts_serialized,
              signature_keys=signature_def_keys,
              signature_def_map_serialized={},
              function_aliases={},
              py_function_library=py_function_lib.PyFunctionLibrary(),
              representative_dataset_file_map_serialized=None,
          )
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 02:09:24 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/python/quantize_model.py

      Returns:
        Signature def map where the values (`SignatureDef`) are serialized.
      """
      signature_def_map_serialized = {}
      for key, signature_def in signature_def_map.items():
        signature_def_map_serialized[key] = signature_def.SerializeToString()
    
      return signature_def_map_serialized
    
    
    def _save_representative_dataset(
        representative_dataset: repr_dataset.RepresentativeDatasetOrMapping,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 34.2K bytes
    - Viewed (0)
Back to top