Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for mutable_weight_only_ptq (0.2 sec)

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

      QuantizationSpec spec{};
      spec.mutable_matcher()->mutable_function_name()->set_regex(
          "^.*(conv|dot_general).*");
    
      WeightOnlyPtq& weight_only_ptq_spec =
          *spec.mutable_method()->mutable_weight_only_ptq();
      if (auto [iter, inserted] =
              weight_only_ptq_spec.mutable_input_quantized_types()->try_emplace(1);
          inserted) {
        iter->second.mutable_dimension_specs();
      }
      return spec;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top