Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Bitcast (0.17 sec)

  1. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir

      func.return %0 : tensor<?xf32>
    }
    
    // -----
    
    // CHECK-LABEL: func @bitcast
    func.func @bitcast(%arg0: tensor<2xf32>) -> tensor<2xf32> {
      // CHECK:  mhlo.bitcast_convert %arg0 : (tensor<2xf32>) -> tensor<2xf32>
      %0 = "tf.Bitcast"(%arg0) : (tensor<2xf32>) -> tensor<2xf32>
      func.return %0 : tensor<2xf32>
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 335.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize_hlo.mlir

      func.return %0 : tensor<?xf32>
    }
    
    // CHECK-LABEL:   func @bitcast(
    // CHECK-SAME:                  %[[VAL_0:.*]]: tensor<2xf32>) -> tensor<2xf32> {
    // CHECK:           %[[VAL_1:.*]] = "tf.Bitcast"(%[[VAL_0]]) : (tensor<2xf32>) -> tensor<2xf32>
    // CHECK:           return %[[VAL_1]] : tensor<2xf32>
    // CHECK:         }
    func.func @bitcast(%arg0: tensor<2xf32>) -> tensor<2xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 07:26:59 UTC 2024
    - 340.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

      if (element_ty.isF16()) {
        uint16_t raw_epsilon = Eigen::numext::bit_cast<uint16_t>(
            Eigen::NumTraits<Eigen::half>::epsilon());
        auto value = APFloat(APFloat::IEEEhalf(), APInt(16, raw_epsilon));
        return DenseElementsAttr::get(scalar_ty, value);
      } else if (element_ty.isBF16()) {
        uint16_t raw_epsilon = Eigen::numext::bit_cast<uint16_t>(
            Eigen::NumTraits<Eigen::bfloat16>::epsilon());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
Back to top