Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for add_specs (0.08 sec)

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

      // user-provided explicit `QuantizationSpec`s will be appended.
      QuantizationSpecs new_specs{};
      *new_specs.add_specs() =
          GetDefaultStaticRangePtqSpec(/*preset=*/config.static_range_ptq_preset());
      *new_specs.add_specs() =
          GetPtqSpecForConvolution(Method::MethodCase::kStaticRangePtq);
    
      // Append user-provided specs to override existing specs.
    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