Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Bitcast (0.11 sec)

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

    // CHECK:  return %[[RES0]] : tensor<8xf32>
    }
    
    func.func @bitcast(%arg0: tensor<8xi32>) -> tensor<8xui32> {
      %0 = "tf.Bitcast"(%arg0) : (tensor<8xi32>) -> tensor<8xui32>
      func.return %0 : tensor<8xui32>
    
    // CHECK-LABEL: bitcast
    // CHECK: %[[RES0:.*]] = "tfl.bitcast"(%arg0) : (tensor<8xi32>) -> tensor<8xui32>
    // CHECK:  return %[[RES0]] : tensor<8xui32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 05 01:54:33 UTC 2024
    - 153.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/canonicalize.mlir

    func.func @testDoubleBitcast(%arg0: tensor<8x16x32x64xf32>) -> tensor<8x16x32x64xi32> {
      %0 = "tf.Bitcast"(%arg0) : (tensor<8x16x32x64xf32>) -> tensor<8x16x32x64x2xi16>
      %1 = "tf.Bitcast"(%0) {device = "/job:localhost/replica:0/task:0/device:GPU:0"} : (tensor<8x16x32x64x2xi16>) -> tensor<8x16x32x64xi32>
      func.return %1: tensor<8x16x32x64xi32>
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 132.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

    func.func @testBitcast(%arg0: tensor<3x4xui16>) -> tensor<3x4x!tf_type.quint16> {
      %0 = "tf.Bitcast"(%arg0) : (tensor<3x4xui16>) -> tensor<3x4x!tf_type.quint16>
      func.return %0 : tensor<3x4x!tf_type.quint16>
    }
    
    // -----
    
    // CHECK-LABEL: func @testBitcast_v2
    func.func @testBitcast_v2(%arg0: tensor<3x2xi16>) -> tensor<3xi32> {
      %0 = "tf.Bitcast"(%arg0) : (tensor<3x2xi16>) -> tensor<3xi32>
      func.return %0 : tensor<3xi32>
    }
    
    // -----
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 14:40:35 UTC 2023
    - 236.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/tests/uniform-quantized-stablehlo-to-tfl.mlir

    // CHECK: %[[BITCAST1:.+]] = "tfl.bitcast"(%[[ARG1]]) : (tensor<i64>) -> tensor<1xi64>
    // CHECK: %[[MIN1:.+]] = "tfl.minimum"(%[[BITCAST1]], %[[MAX1]]) : (tensor<1xi64>, tensor<1xi64>) -> tensor<1xi64>
    // CHECK: %[[BITCAST2:.+]] = "tfl.bitcast"(%[[ARG2]]) : (tensor<i64>) -> tensor<1xi64>
    // CHECK: %[[MIN2:.+]] = "tfl.minimum"(%[[BITCAST2]], %[[MAX2]]) : (tensor<1xi64>, tensor<1xi64>) -> tensor<1xi64>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 106.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

      let hasFolder = 1;
    }
    
    def TFL_BitcastOp : TFL_Op<"bitcast", [Pure]> {
      let summary = "Bitcast operator";
    
      let description = [{
        Bitcasts a tensor from one type to another.
      }];
    
      let arguments = (ins AnyTensor:$input);
    
      let results = (outs AnyTensor:$output);
    
      // TFLite's bitcast bitop does not utilize options, instead derives types
      // from the TfLiteTensors.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/ops.mlir

      // CHECK: return %0 : tensor<8xf32>
    }
    
    
    // -----
    
    // CHECK-LABEL: testBitcast
    func.func @testBitcast(%arg0: tensor<8xui32>) -> tensor<8xi32> {
      // CHECK: "tfl.bitcast"(%arg0)
      %0 = "tfl.bitcast"(%arg0) : (tensor<8xui32>) -> tensor<8xi32>
      func.return %0 : tensor<8xi32>
      // CHECK: return %0 : tensor<8xi32>
    }
    
    // -----
    
    // CHECK-LABEL: testBitwiseXor
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 189.2K bytes
    - Viewed (0)
Back to top