Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for mutable_specs (0.51 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/cc/config.cc

      // Append user-provided specs to override existing specs.
      const QuantizationSpecs& previous_specs = config.specs();
      new_specs.mutable_specs()->Add(previous_specs.specs().begin(),
                                     previous_specs.specs().end());
    
      config.clear_static_range_ptq_preset();
      config.mutable_specs()->Swap(&new_specs);
    }
    
    void ExpandWeightOnlyPtqPreset(QuantizationConfig& config) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/cc/config_test.cc

      QuantizationConfig config{};
      config.mutable_static_range_ptq_preset()->set_enable_full_int_quantization(
          true);
    
      QuantizationSpec& user_provided_spec = *config.mutable_specs()->add_specs();
      user_provided_spec.mutable_matcher()->mutable_function_name()->set_regex(
          "composite_dot_general_fn_1");
      user_provided_spec.mutable_method()->mutable_no_quantization();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 06:59:34 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top