Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Bitcast (0.09 sec)

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

    // CHECK-SAME: (tensor<*xf32>) -> tensor<*xf32>
    // CHECK: %[[round:.*]] = "tf.Round"(%[[avgpool_f32]])
    // CHECK: %[[icast:.*]] = "tf.Cast"(%[[round]]) <{Truncate = false}> : (tensor<*xf32>) -> tensor<*xi8>
    // CHECK: %[[sc2:.*]] = "quantfork.scast"(%[[icast]])
    // CHECK: %[[dq:.*]] = "quantfork.dcast"(%[[sc2]]) : (tensor<*x!quant.uniform<i8:f32, 5.000000e-02:-10>>)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 19:32:28 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform.cc

        auto dequantize_func = [&](const APInt& ap_int_value) -> APInt {
          const int64_t int_value = ap_int_value.getSExtValue();
    
          const float real = (int_value - zp) * scale;
    
          auto real_int = absl::bit_cast<int32_t>(real);
          return APInt(/*numBits=*/32, real_int);
        };
    
        auto dequant_values =
            mlir::cast<DenseIntOrFPElementsAttr>(input_values)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top