Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for populate_default_configs (0.22 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/python/pywrap_quantization.pyi

        signature_def_map_serialized: dict[str, bytes],
        py_function_library: py_function_lib.PyFunctionLibrary,
    ) -> Any: ...  # Status
    
    # LINT.ThenChange()
    
    # LINT.IfChange(populate_default_configs)
    def populate_default_configs(
        user_provided_quantization_config_serialized: bytes,
    ) -> bytes: ...  # QuantizationConfig
    
    # LINT.ThenChange()
    
    # LINT.IfChange(expand_preset_configs)
    def expand_preset_configs(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 13:51:40 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/python/pywrap_quantization.cc

      // LINT.ThenChange(pywrap_quantization.pyi:weight_only_ptq)
    
      // If the function signature changes, likely its corresponding .pyi type
      // hinting should also change.
      // LINT.IfChange(populate_default_configs)
      m.def("populate_default_configs", &PywrapPopulateDefaults,
            R"pbdoc(
            Populates `QuantizationConfig` with default values.
    
            Returns an updated `QuantizationConfig` (serialized) after populating
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 13:51:40 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/python/quantization.py

      # pipeline to work with.
      print('=== User-provided QuantizationConfig ===')
      print(config)
      config = qc.QuantizationConfig.FromString(
          pywrap_quantization.populate_default_configs(config.SerializeToString())
      )
      config = qc.QuantizationConfig.FromString(
          pywrap_quantization.expand_preset_configs(config.SerializeToString())
      )
      print('=== Updated QuantizationConfig ===')
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 12:53:33 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top