Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for input_quantized_types (0.39 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/quantize_composite_functions_weight_only.mlir

        return %1 : tensor<1x3xf32>
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 05:56:10 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/prepare_quantize/prepare_quantize_per_channel.mlir

          // Represents a per-channel quantization for the operand index 1 with
          // quantization dimension of 3
          _quantization_method = "static_range_ptq {input_quantized_types {key: 1, value {dimension_specs {dimension: 3}}}}",
          platforms = [], version = 4 : i64
        } : (tensor<1x3x2x3xf32>, tensor<2x3x3x2xf32>, tensor<2xf32>) -> tensor<1x2x2x2xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 26 07:48:15 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/cc/config.cc

    // weights, on the channel dimension.
    //
    // In textproto, the spec corresponds to:
    //
    // {
    //   {matcher {function_name {regex: "composite_conv.*"}}}
    //   {method {static_range_ptq
    //     {input_quantized_types {
    //       key: 1,
    //       value {dimension_specs {dimension: 3}}}}
    //   }}
    // }
    QuantizationSpec GetPtqSpecForConvolution(Method::MethodCase method_case) {
      QuantizationSpec 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)
  4. tensorflow/compiler/mlir/quantization/stablehlo/ops/stablehlo_op_quant_spec.cc

        // Look for quantized dimension specs for each quantized type and
        // populate `coeff_op_quant_dim`.
        for (const auto& [operand_idx, quantized_type] :
             static_range_ptq_spec.input_quantized_types()) {
          if (quantized_type.has_dimension_specs()) {
            spec.coeff_op_quant_dim[operand_idx] =
                quantized_type.dimension_specs().dimension();
          }
        }
      }
    }
    
    }  // namespace
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 05:56:10 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top