Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,631 for yield (0.09 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/resource-device-inference.mlir

              func.call @ifregion_then(%id0, %var_handle) : (!tf_res, !tf_res) -> ()
              "tf.Yield"() : () -> ()
            }, {
              func.call @ifregion_else(%id0, %var_handle) : (!tf_res, !tf_res) -> ()
              "tf.Yield"() : () -> ()
            }) {is_stateless = false} : (tensor<i1>) -> ()
          tf_executor.yield
        }
        tf_executor.fetch %island : !tf_executor.control
      }
      func.return
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 17 16:01:45 UTC 2022
    - 18.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/functional-control-flow-to-regions.mlir

      // CHECK-SAME: _then_func_name = "testIf1Then"
      // CHECK-SAME: is_stateless = false
      // CHECK: [[Result0:%.*]] = func.call @testIf1Then
      // CHECK: "tf.Yield"([[Result0]])
      // CHECK: [[Result1:%.*]] = func.call @testIf1Else
      // CHECK: "tf.Yield"([[Result1]])
      // CHECK: _attr0 = 10
      // CHECK-SAME: _attr1 = true
      // CHECK-NOT: attr2 =
      // CHECK-NOT: else_branch
      // CHECK-NOT: then_branch
      // CHECK-SAME: }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Nov 06 21:59:28 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/split_into_island_per_op.mlir

    func.func @multiple_func_body_ops() {
      tf_executor.graph {
        tf_executor.island {
          "tf.NoOp"() : () -> ()
          tf_executor.yield
        }
        tf_executor.fetch
      }
      tf_executor.graph {
        tf_executor.island {
          "tf.NoOp"() : () -> ()
          tf_executor.yield
        }
        tf_executor.fetch
      }
      func.return
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 20.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/hoist_loop_invariant.mlir

      ^bb0(%arg2: tensor<i32>, %arg3: tensor<i32>):
        %1 = "tf.OpA"() {is_stateless = true} : () -> tensor<i1>
        "tf.Yield"(%1) : (tensor<i1>) -> ()
      }, {
      ^bb0(%arg2: tensor<i32>, %arg3: tensor<i32>):
        %1 = "tf.GlobalIterId"() : () -> tensor<i64>
        "tf.Yield"(%arg2, %arg3) : (tensor<i32>, tensor<i32>) -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 22 17:12:02 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/cluster_formation.mlir

            %5 = "tf.D"(%4) {device = "gpu0"} : (tensor<?xi32>) -> tensor<?xi32>
            // CHECK: tf_device.return %[[D_OUTPUT]]
    
            // CHECK: tf_executor.yield %[[GPU0_OUTPUT]]
            tf_executor.yield %5 : tensor<?xi32>
          }
          tf_executor.fetch %1#0 : tensor<?xi32>
        }
        func.return %0 : tensor<?xi32>
      }
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 14.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/replicate_to_island.mlir

            tf_device.return
          }
          tf_executor.yield
        }
        %1 = tf_executor.island {
          tf_device.replicate {n = 2 : i32, devices = {CORE_0 = ["/CPU:0", "/GPU:1"]}} {
            "tf_device.launch"() ({
              "tf.opA"() : () -> ()
              tf_device.return
            }) {device = "/TPU:1"} : () -> ()
            tf_device.return
          }
          tf_executor.yield
        }
        tf_executor.fetch
      }
      func.return
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/parallel_execute_to_islands.cc

    //      tf_device.return
    //    }) {} : () -> (tensor<i1>)
    //    tf_executor.yield %4 : tensor<i1>
    //  }
    //  tf_executor.fetch %3#0 : tensor<i1>
    //
    // gets lowered to:
    //
    //  %0 = tf_executor.island {
    //    tf_executor.yield
    //  }
    //  %1:2 = tf_executor.island {
    //    %2 = "tf.opA"(%arg0) : (tensor<i1>) -> tensor<i1>
    //    tf_executor.yield %2 : tensor<i1>
    //  }
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 19 19:47:16 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/mark_ops_for_outside_compilation.mlir

        %2 = "tf.IfRegion"(%arg0) ({
          %3 = "tf.StringToNumber"(%arg1) {out_type = f32} : (tensor<!tf_type.string>) -> tensor<f32>
          "tf.Yield"(%3) : (tensor<f32>) -> ()
         },  {
          %4 = "tf.Const"() {value = dense<1.0> : tensor<f32>} : () -> tensor<f32>
          "tf.Yield"(%4) : (tensor<f32>) -> ()
        }) {is_stateless = true} : (tensor<i1>) -> (tensor<f32>)
        %5 = "tf.Identity"(%2) : (tensor<f32>) -> tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 16:22:32 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/tfl_while_outline.mlir

        "tfl.yield"(%1) : (tensor<i1>) -> ()
      },  {
      ^bb0(%arg0: tensor<*xi32>, %arg1: tensor<*xf32>):
        // CHECK: call @WhileOp_body
        // CHECK-SAME: (tensor<*xi32>, tensor<*xf32>, tensor<i32>)
        %1:3 = func.call @WhileOp_body(%arg0, %arg1, %cst) : (tensor<*xi32>, tensor<*xf32>, tensor<i32>) -> (tensor<*xi32>, tensor<*xf32>, tensor<i32>)
        "tfl.yield"(%1#0, %1#1) : (tensor<*xi32>, tensor<*xf32>) -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/localize_var_handles.mlir

        // CHECK: "tf.ReadVariableOp"([[name]])
        %cond = builtin.unrealized_conversion_cast to tensor<i1>
        %0 = "tf.IfRegion"(%cond) ({
          "tf.Yield"(%arg0) : (tensor<!tf_type.resource<tensor<10xf32>>>) -> ()
        }, {
          "tf.Yield"(%arg0) : (tensor<!tf_type.resource<tensor<10xf32>>>) -> ()
        }) { is_stateless = false} : (tensor<i1>) -> tensor<!tf_type.resource<tensor<10xf32>>>
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 23 21:12:02 UTC 2023
    - 10.3K bytes
    - Viewed (0)
Back to top