Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for lhs_quantization_axis (0.23 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/tests/quantize_composite_functions_drq.mlir

    // CHECK-LABEL: func private @quantized_matmul_fn_0
    // CHECK:  %0 = "tf.UniformQuantizedDotHybrid"(%arg0, %arg1, %arg2, %arg3)
    // CHECK-SAME: rhs_quantization_axis = -1 : i64
    // CHECK-SAME: rhs_quantization_max_val = 127 : i64
    // CHECK-SAME: rhs_quantization_min_val = -128 : i64
    
    }
    
    // -----
    
    module {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 18:35:42 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_ops_to_mhlo.cc

        // Currently for dot, PTQ supports per-tensor quantization.
        if (rhs_quantized_dimension != -1) {
          return rewriter.notifyMatchFailure(
              op, "Legalization supports only rhs_quantization_axis -1.");
        }
        auto rhs_type = GetUniformQuantizedType(
            op, op.getRhs().getType(), op.getRhsScales(), op.getRhsZeroPoints(),
            /*expressed_type=*/rewriter.getF32Type(), op.getRhsQuantizationMinVal(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

    Must have same shape with `output_scales`.}]>:$output_zero_points,
    
        DefaultValuedOptionalAttr<I64Attr, "-1">:$lhs_quantization_axis,
        I64Attr:$lhs_quantization_min_val,
        I64Attr:$lhs_quantization_max_val,
        DefaultValuedOptionalAttr<I64Attr, "-1">:$rhs_quantization_axis,
        I64Attr:$rhs_quantization_min_val,
        I64Attr:$rhs_quantization_max_val,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

          self.assertEqual(
              self._count_ops(
                  output_graphdef,
                  _PER_CHANNEL_QUANTIZED_OPS,
                  'rhs_quantization_axis',
                  quantized_axis_attr,
              ),
              self._count_ops(output_graphdef, _PER_CHANNEL_QUANTIZED_OPS),
          )
          self.assertEqual(
              self._count_ops(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
Back to top