Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 87 for 1xi32 (0.36 sec)

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

      %shape1 = arith.constant dense<[64]> : tensor<1xi32>
      %0 = "tfl.reshape"(%arg0, %shape0) : (tensor<4x4x4xf32>, tensor<2xi32>) -> tensor<16x4xf32>
      %1 = "tfl.reshape"(%0, %shape1) : (tensor<16x4xf32>, tensor<1xi32>) -> tensor<64xf32>
      %2 = "tfl.reshape"(%0, %shape1) : (tensor<16x4xf32>, tensor<1xi32>) -> tensor<64xf32>
      %3 = arith.addf %1, %2 : tensor<64xf32>
      func.return %3 : tensor<64xf32>
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-with-tf2xla-hlo-importer.mlir

      func.func @testBroadcastGradientArgs(%s0: tensor<4xi32>, %s1: tensor<4xi32>) -> (tensor<1xi32>, tensor<0xi32>) {
        // CHECK:     tf.BroadcastGradientArgs
        %r0, %r1 = "tf.BroadcastGradientArgs"(%s0, %s1) : (tensor<4xi32>, tensor<4xi32>) -> (tensor<1xi32>, tensor<0xi32>)
        func.return %r0, %r1 : tensor<1xi32>, tensor<0xi32>
      }
    
      // CHECK-LABEL: @acos
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 38.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/tfl_while_outline.mlir

        %26 = "tfl.slice"(%arg3, %22, %25) : (tensor<*xf32>, tensor<?xi32>, tensor<?xi32>) -> tensor<*xf32>
        %27 = "tfl.reshape"(%5, %cst_12) : (tensor<i32>, tensor<1xi32>) -> tensor<1xi32>
        %28 = "tfl.concatenation"(%27, %21) {axis = 0 : i32, fused_activation_function = "NONE"} : (tensor<1xi32>, tensor<?xi32>) -> tensor<?xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/tests/analysis/cost_analysis.mlir

        %3 = "tf.Const"() {value = dense<2> : tensor<1xi32>} : () -> tensor<1xi32>
        // expected-remark@+1 {{Cost: 1}}
        %4 = "tf.Const"() {value = dense<1> : tensor<1xi32>} : () -> tensor<1xi32>
        // expected-remark@+1 {{Cost: 1}}
        %5 = "tf.Const"() {value = dense<0> : tensor<1xi32>} : () -> tensor<1xi32>
        // expected-remark@+1 {{Cost: 1}}
        %6 = "tf.Const"() {value = dense<3> : tensor<1xi32>} : () -> tensor<1xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 14 15:35:49 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/tests/duplicate_shape_determining_constants.mlir

      // Just to introduce an extra use for %cst.
      %1 = "tf.AddV2"(%cst, %cst) {device = ""} : (tensor<1xi32>, tensor<1xi32>) -> tensor<1xi32>
    
      return %0 : tensor<16xf32>
    }
    // Check that the constant is cloned with same value.
    // CHECK-DAG: %[[CST_0:.*]] = "tf.Const"()
    // CHECK-SAME: value = dense<1> : tensor<1xi32>
    // CHECK-DAG: %[[CST_1:.*]] = "tf.Const"()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 24 07:44:46 UTC 2022
    - 11K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-binary-elementwise.mlir

      %0 = "tf.RealDiv"(%arg0, %arg0) : (tensor<2xi32>, tensor<2xi32>) -> tensor<2xi32>
      func.return %0: tensor<2xi32>
    }
    
    // CHECK-LABEL: func @sub
    func.func @sub(%arg0: tensor<2xi32>) -> tensor<2xi32> {
      // CHECK-NEXT:  %0 = mhlo.subtract %arg0, %arg0 : tensor<2xi32>
      // CHECK-NEXT:  return %0 : tensor<2xi32>
      %0 = "tf.Sub"(%arg0, %arg0) : (tensor<2xi32>, tensor<2xi32>) -> tensor<2xi32>
      func.return %0: tensor<2xi32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfr/tests/ops.mlir

    }
    
    // -----
    
    func.func @constant_tensor_invalid_1(%arg0: vector<1xi32>) -> tensor<?xi32> {
        // expected-error@+1 {{output type should be static and ranked}}
      %0 = "tfr.constant_tensor"(%arg0) : (vector<1xi32>) -> tensor<?xi32>
      func.return %0 : tensor<?xi32>
    }
    
    // -----
    
    func.func @constant_tensor_invalid_2(%arg0: vector<1xi32>) -> tensor<1xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jan 14 22:15:06 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/tests/bridge/optimize.mlir

      %2 = chlo.broadcast_add %1, %bias : (
          tensor<?x2x2x1xf32>, tensor<1xf32>) ->tensor<?x2x2x1xf32>
      return %2 : tensor<?x2x2x1xf32>
    }
    
    // -----
    
    // CHECK-LABEL: func @dot_general_add_add
    func.func @dot_general_add_add(
        %lhs: tensor<?x?x6xi8>, %rhs: tensor<6x8xi8>,
        %zp_offset: tensor<8xi32>, %bias: tensor<8xi32>
      ) -> tensor<?x?x8xi32> {
      // CHECK: %[[dot:.*]] = "mhlo.dot_general"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Feb 24 02:26:47 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/dilated-conv.mlir

      %cst_0 = "tf.Const"() {value = dense<-3> : tensor<i32>} : () -> tensor<i32>
      %cst_1 = "tf.Const"() {value = dense<2> : tensor<1xi32>} : () -> tensor<1xi32>
      %cst_2 = "tf.Const"() {value = dense<4> : tensor<1x2xi32>} : () -> tensor<1x2xi32>
      %0 = "tf.SpaceToBatchND"(%arg0, %cst_1, %cst_2) : (tensor<1x128x3xf32>, tensor<1xi32>, tensor<1x2xi32>) -> tensor<2x68x3xf32>
      %1 = "tf.ExpandDims"(%0, %cst_0) : (tensor<2x68x3xf32>, tensor<i32>) -> tensor<2x1x68x3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 44.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/einsum.mlir

    // CHECK: %[[v5:.*]] = "tf.Gather"(%3, %[[cst_1]]) <{validate_indices = true}> : (tensor<3xi32>, tensor<2xi32>) -> tensor<2xi32>
    // CHECK: %[[v6:.*]] = "tf.Gather"(%4, %[[cst_2]]) <{validate_indices = true}> : (tensor<4xi32>, tensor<1xi32>) -> tensor<1xi32>
    // CHECK: %[[v7:.*]] = "tf.Concat"(%[[cst_3]], %5, %6) : (tensor<i32>, tensor<2xi32>, tensor<1xi32>) -> tensor<3xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 18:35:42 UTC 2024
    - 25.9K bytes
    - Viewed (0)
Back to top