Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for 3x3x48xf32 (0.1 sec)

  1. tensorflow/compiler/mlir/lite/tests/ops.mlir

    func.func @testSelectV2WithWrongBroadcastableArguments(%cond : tensor<3x4xi1>, %arg0 : tensor<2x3x4xf32>, %arg1 : tensor<4x3xf32>) -> tensor<2x3x4xf32> {
      // expected-error @+1 {{'tfl.select_v2' op operands don't have broadcast-compatible shapes}}
      %0 = "tfl.select_v2"(%cond, %arg0, %arg1): (tensor<3x4xi1>, tensor<2x3x4xf32>, tensor<4x3xf32>) -> tensor<2x3x4xf32>
      func.return %0 : tensor<2x3x4xf32>
    }
    
    // -----
    
    // CHECK-LABEL: topk
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 189.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir

    // CHECK:  return
    }
    
    func.func @select_v2_broadcast(%arg0: tensor<4xi1>, %arg1: tensor<3x4xf32>, %arg2: tensor<8x3x4xf32>) -> tensor<8x3x4xf32> {
      %0 = "tf.SelectV2"(%arg0, %arg1, %arg2) : (tensor<4xi1>, tensor<3x4xf32>, tensor<8x3x4xf32>) -> tensor<8x3x4xf32>
      func.return %0: tensor<8x3x4xf32>
    
    // CHECK-LABEL: select_v2_broadcast
    // CHECK:  "tfl.select_v2"(%arg0, %arg1, %arg2)
    // CHECK:  return
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 05 01:54:33 UTC 2024
    - 153.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/tests/uniform-quantized-stablehlo-to-tfl.mlir

    // CHECK: return %[[TRANSPOSE]]
    
    // -----
    
    // Tests that a float `stablehlo.transpose` is not converted to `tfl.transpose`.
    
    func.func @transpose_float(%arg0: tensor<2x3x4xf32>) -> tensor<4x3x2xf32> {
      %0 = stablehlo.transpose %arg0, dims = [2, 1, 0] : (tensor<2x3x4xf32>) -> tensor<4x3x2xf32>
      return %0 : tensor<4x3x2xf32>
    }
    // CHECK-LABEL: transpose_float
    // CHECK-NOT: tfl.transpose
    // CHECK: stablehlo.transpose
    
    // -----
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 106.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

    func.func @testTranspose(tensor<2x3x4xf32>) -> tensor<3x2x4xf32> {
    ^bb0(%arg0: tensor<2x3x4xf32>):
      %cst = arith.constant dense<[2, 0, 1]> : tensor<3xi32>
      // expected-error @+1 {{requires y.shape[0] (3) to be equal to x.shape[perm[2]] (4)}}
      %0 = "tf.Transpose"(%arg0, %cst) {T = "tfdtype$DT_FLOAT", Tperm = "tfdtype$DT_INT32"} : (tensor<2x3x4xf32>, tensor<3xi32>) -> tensor<3x2x4xf32>
      func.return %0 : tensor<3x2x4xf32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 14:40:35 UTC 2023
    - 236.4K bytes
    - Viewed (0)
Back to top