Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for SomeOp (0.14 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/drop_while_shape_invariant.mlir

      %0 = "tf.Const"() {value = dense<true> : tensor<i1>} : () -> tensor<i1>
      func.return %0 : tensor<i1>
    }
    
    func.func @while_body(%arg0: tensor<*xf32>) -> (tensor<*xf32>) {
      %0 = "tf.SomeOp"(%arg0) : (tensor<*xf32>) -> tensor<*xf32>
      func.return %0 : tensor<*xf32>
    }
    
    // Test that -tf-drop-while-shape-invariant-in-device-cluster pass does not drop
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/group_by_dialect.mlir

    // CHECK-SAME: dialect = "bar"
    // CHECK: bar.a
    // CHECK: bar.b
    // CHECK: bar.c
    // CHECK: func [[foo]]
    // CHECK: foo.someop
    // CHECK: call [[bar]]
    
    // -----
    
    func.func @handles_nested_regions(%arg0: f32, %arg1: f32) {
      %0 = "glue.someop"() : () -> f32
      "foo.someop"() ({
        "foo.some_other_op"() ({
          "bar.a"(%arg0) : (f32) -> f32
          "bar.b"(%arg1) : (f32) -> f32
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 28 23:43:21 UTC 2022
    - 5.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_freeze_global_tensors.mlir

      %graph:2 = tf_executor.graph {
        %value, %value_control = tf_executor.island wraps "tf.GetKey"() : () -> tensor<f32>
        %ret0, %ret0_control = tf_executor.island wraps "tf.SomeOp"() : () -> !tf_res
        %ret1, %ret1_control = tf_executor.island wraps "tf.SomeOp"() : () -> !tf_res
        %control_unknown = tf_executor.island wraps "tf.UnknownOp"() : () -> ()
        %key, %key_control = tf_executor.island wraps "tf.GetKey"() : () -> !tf_str
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 03:07:35 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_island_inlining/executor_tpuv1_inline_tpu_island.mlir

            %1 = "tf.opB"() : () -> tensor<f32>
            tf_executor.yield %1 : tensor<f32>
          }
    // CHECK-NOT: PartitionedCall
    // CHECK: "tf.opA"
    // CHECK: "tf.opA"
    // CHECK: "tf.SomeOp"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 25 11:03:04 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/remove_unused_arguments.mlir

    func.func private @handles_multiple_returns(%arg0: f32, %arg1: f32) -> (f32, f32) {
      "SomeOp"() : () -> ()
     ^bb0:
      return %arg0, %arg1 : f32, f32
     ^bb1:
      return %arg1, %arg0 : f32, f32
    }
    
    // -----
    
    // CHECK-LABEL: @removes_multiple_returns
    func.func private @removes_multiple_returns(%arg0: f32, %arg1: f32) -> (f32, f32) {
      "SomeOp"() : () -> ()
     ^bb0:
      // CHECK: return
      // CHECK-NOT: arg
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 06 23:00:44 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_outline_island/executor_tpuv1_outline_tpu_island.mlir

          %3 = "tf.opA"(%arg0) : (tensor<i1>) -> tensor<i1>
          %4 = "tf.opA"(%3) : (tensor<i1>) -> tensor<i1>
          %5 = "tf.SomeOp"(%arg0, %1#0) : (tensor<i1>, tensor<f32>) -> tensor<i32>
          tf_executor.yield %4, %5 : tensor<i1>, tensor<i32>
        }
        tf_executor.fetch %2#0 : tensor<i1>
      }
      func.return %0 : tensor<i1>
    }
    
    // CHECK: module
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 04 03:54:58 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/parallel_execute_to_islands_legacy.mlir

    
    // CHECK-LABEL: func @testControlOperands
    func.func @testControlOperands() {
      %0:2 = tf_executor.graph {
        %1 = tf_executor.island {
          "tf.someOp"() : () -> ()
          tf_executor.yield
        }
        %2:3 = tf_executor.island(%1) {
          %3:2 = "tf_device.parallel_execute"() ({
            %4 = "tf.opA"() : () -> tensor<i1>
            tf_device.return %4 : tensor<i1>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 19 19:47:16 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/errors.mlir

    // expected-error @+1 {{failed to legalize operation 'func.func' that was explicitly marked illegal}}
    func.func @test_identity_wrong_type(%arg0: tensor<4x2x!tf_type.string>) -> tensor<4x2x!tf_type.stringref> {
      %0 = "tf.SomeOp"(%arg0) : (tensor<4x2x!tf_type.string>) -> tensor<4x2x!tf_type.stringref>
      func.return %0 : tensor<4x2x!tf_type.stringref>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 25 10:51:48 UTC 2022
    - 428 bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/convert_control_to_data_outputs.mlir

    func.func @simple_independent_chains_while_cond(%arg0: !tf_res, %arg1: !tf_res, %arg2: tensor<f32>, %arg3: tensor<f32>) -> (tensor<i32>) {
      %graph = tf_executor.graph {
        %island, %ctrl = tf_executor.island {
          %pred = "tf.SomeOp"(%arg2) : (tensor<f32>) -> tensor<i32>
          tf_executor.yield %pred : tensor<i32>
        }
        tf_executor.fetch %island : tensor<i32>
      }
      func.return %graph : tensor<i32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 18:35:00 UTC 2024
    - 68.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/attributes.mlir

      func.return
    }
    
    // CHECK-LABEL: func @resource
    func.func @resource() {
      // CHECK: tf.SomeOp
      // CHECK-SAME: dtype = !corert.resource
      "tf.SomeOp"() {device = "/device:CPU:0", dtype = !tf_type.resource} : () -> ()
      func.return
    }
    
    // CHECK-LABEL: func @variant
    func.func @variant(%arg: tensor<!tf_type.variant>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 00:18:59 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top