Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for has_per_tensor (0.19 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/passes/insert_weight_param.cc

          return true;
        }
        auto weight_type = input_quantized_types.find(1);
        if (weight_type == input_quantized_types.end()) {
          return true;
        }
        return weight_type->second.has_per_tensor();
      }
    
      static int GetQuantizationDimension(const WeightOnlyPtq& weight_only_ptq,
                                          TF::XlaCallModuleOp op) {
        const QuantizedType& quantized_type =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 05:56:10 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc

          if (static_range_ptq_spec.input_quantized_types().contains(1)) {
            const QuantizedType& weight_quantized_type =
                static_range_ptq_spec.input_quantized_types().at(1);
            if (weight_quantized_type.has_per_tensor()) {
              return false;
            }
            const QuantizedDimension& dimension_specs =
                weight_quantized_type.dimension_specs();
            return !dimension_specs.has_dimension() ||
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 06:04:36 UTC 2024
    - 41.7K bytes
    - Viewed (0)
Back to top