Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for fake_quant_with_min_max_args (0.25 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test_base.py

        )
        # Insert fake quant to simulate a QAT model.
        weight = array_ops.fake_quant_with_min_max_args(
            weight, min=-0.1, max=0.2, num_bits=8, narrow_range=False
        )
    
        # shape: (2, 2)
        output_tensor = math_ops.matmul(matmul_input, weight)
        # Insert fake quant to simulate a QAT model.
        output_tensor = array_ops.fake_quant_with_min_max_args(
            output_tensor, min=-0.2, max=0.2, num_bits=8, narrow_range=False
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 08:51:46 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/lower_tf.mlir

      // CHECK: return [[VAL8]] : tensor<1x8x2xf32>
      func.return %2 : tensor<1x8x2xf32>
    }
    
    func.func @fake_quant_with_min_max_args(%arg0 : tensor<?x?xf32>) -> tensor<?x?xf32> {
      // CHECK-DAG: [[VAL0:%.+]] = "tf.Const"() <{value = dense<1.275000e+02> : tensor<f32>}>
      // CHECK-DAG: [[VAL1:%.+]] = "tf.Const"() <{value = dense<1.00392163> : tensor<f32>}>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 18:35:42 UTC 2024
    - 92K bytes
    - Viewed (0)
Back to top