Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 81 for 1xi32 (0.11 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/fold-broadcast.mlir

      %cst = arith.constant dense<[3, 5, 7]> : tensor<3xi32>
      %0 = "tf.BroadcastTo"(%arg1, %cst) : (tensor<5xf32>, tensor<3xi32>) -> tensor<3x5x7xf32>
      %1 = "tf.Mul"(%arg0, %0) : (tensor<5x7xf32>, tensor<3x5x7xf32>) -> tensor<3x5x7xf32>
      func.return %1 : tensor<3x5x7xf32>
      // CHECK: %[[C0:.*]] = arith.constant dense<[3, 5, 7]> : tensor<3xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize-stablehlo-vhlo.mlir

    func.func @op_with_tfl_control_flow() -> (tensor<1xf32>, !tfl.control) {
      // CHECK: vhlo.constant_v1
      %0 = stablehlo.constant dense<1.000000e+00> : tensor<1xf32>
      // CHECK-NEXT: tfl.control_node
      %outputs, %control = tfl.control_node {
        %1 = "tfl.neg"(%0) : (tensor<1xf32>) -> tensor<1xf32>
        "tfl.yield"(%1) : (tensor<1xf32>) -> ()
      }
      return %outputs, %control : tensor<1xf32>, !tfl.control
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 07 22:39:35 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/ir/tfl_canonicalize.td

    // %0 = "tfl.transpose"(%arg0, %cst) : (tensor<56x8x56x1x1x1x7xf32>, tensor<7xi32>) -> tensor<1x1x8x56x56x7x1xf32>
    // to-
    // %0 = "tfl.reshape"(%arg0, %cst) : (tensor<56x8x56x1x1x1x7xf32>, tensor<4xi32>) -> tensor<56x8x56x7xf32>
    // %1 = "tfl.transpose"(%0, %cst_0) : (tensor<56x8x56x7xf32>, tensor<4xi32>) -> tensor<8x56x56x7xf32>
    // %2 = "tfl.reshape"(%1, %cst_1) : (tensor<8x56x56x7xf32>, tensor<7xi32>) -> tensor<1x1x8x56x56x7x1xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 13 20:41:03 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/if_op.mlir

    // Confirm function references in if ops are preserved
    func.func @main(%arg0: tensor<1xf32>, %arg1: tensor<1xf32>) -> tensor<1xf32> {
    // CHECK:   %{{.*}} = "tf.If"(%{{.*}}, %{{.*}}, %{{.*}}) <{else_branch = @cond_false, is_stateless = false, then_branch = @cond_true}> : (tensor<1xi1>, tensor<1xf32>, tensor<1xf32>) -> tensor<1xf32>
      %0 = "tfl.less"(%arg0, %arg1) : (tensor<1xf32>, tensor<1xf32>) -> tensor<1xi1>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/tests/stablehlo-custom-call-legalize-composite.mlir

        return
      }
      // CHECK-LABEL: func private @foo.impl
      func.func private @foo.impl(%arg0: tensor<1xf32>, %arg1: tensor<2xf32>) -> (tensor<2xf32>, tensor<1xf32>) {
        return %arg1, %arg0 : tensor<2xf32>, tensor<1xf32>
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 19:49:44 UTC 2024
    - 1009 bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/inlining.mlir

    func.func private @simple_callee() -> tensor<2xi32>  {
      %cst = "tf.Const"() { value = dense<2> : tensor<2xi32> } : () -> tensor<2xi32>
      func.return %cst : tensor<2xi32>
    }
    
    func.func private @simple_callee_with_noinline() -> tensor<2xi32> attributes {tf._noinline = true} {
      %cst = "tf.Const"() { value = dense<2> : tensor<2xi32> } : () -> tensor<2xi32>
      func.return %cst : tensor<2xi32>
    }
    
    // Test that simple TF operations can be inlined.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/xla_call_module_deserialization.mlir

        // CHECK:     return %[[RESULT]]
        func.return %0 : tensor<10xi32>
      }
    
      // CHECK-LABEL: func @foo
      // CHECK-SAME:    %[[ARG0:.*]]: tensor<10xi32>, %[[ARG1:.*]]: tensor<10xi32>
      func.func @foo(%arg0: tensor<10xi32>, %arg1: tensor<10xi32>) -> tensor<10xi32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 02 18:38:51 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/xla_call_module_round_trip.mlir

        // CHECK: call @f
        %arg2 = func.call @f(%arg0) : (tensor<?xi32>) -> (tensor<?xi32>)
        return %arg2 : tensor<?xi32>
      }
    
      // CHECK-LABEL: func private @f
      // CHECK:    attributes {_from_xla_call_module}
      func.func private @f(%arg0: tensor<?xi32>) -> (tensor<?xi32>) attributes {_from_xla_call_module} {
        return %arg0 : tensor<?xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 02 18:38:51 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/convert_xla_call_module_op_to_bfloat16.mlir

        } : (tensor<10xf32>, tensor<10xf32>, tensor<6xi32>) -> (tensor<10xf32>, tensor<6xi32>)
        // CHECK: return %[[RESULT_CAST]], %[[RESULT]]#1 : tensor<10xf32>, tensor<6xi32>
        func.return %0#0, %0#1 : tensor<10xf32>, tensor<6xi32>
      }
    
      // CHECK-LABEL: func private @main_0
      // CHECK-SAME: %[[ARG_0:.*]]: tensor<10xbf16>, %[[ARG_1:.*]]: tensor<10xbf16>, %[[ARG_2:.*]]: tensor<6xi32>
      func.func private @main_0(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 08 22:40:14 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/tpu-resource-read-for-write.mlir

      %fill = "tf.Fill"(%cst_0, %cst) : (tensor<1xi64>, tensor<f32>) -> tensor<1xf32>
      tf_device.replicate([%0, %fill] as %arg_r0: tensor<1xf32>) {n = 2 : i32} {
        %1 = "tf_device.launch"() <{device = "TPU_REPLICATED_HOST_0"}> ({
          %2 = "tf.Identity"(%arg_r0) : (tensor<1xf32>) -> tensor<1xf32>
          tf_device.return %2 : tensor<1xf32>
        }) : () -> tensor<1xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 16:54:40 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top