Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,311 for yield (0.26 sec)

  1. tensorflow/compiler/mlir/tensorflow/translate/split_into_island_per_op_pass.cc

      OpBuilder builder(&island.GetBody(), island.GetBody().begin());
      tf_executor::YieldOp yield = island.GetYield();
      if (yield.getNumOperands() == 0) {
        builder.create<TF::NoOp>(island.getLoc(), TypeRange{}, ValueRange{});
      } else if (yield.getNumOperands() == 1) {
        Value operand = yield.getOperand(0);
        auto identity = builder.create<TF::IdentityOp>(island.getLoc(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 17 07:31:01 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/tf_executor_ops_location_roundtrip.mlir

    // tf_executor.island, tf.Identity, and tf_executor.yield).
    
    // CHECK-LABEL: "func.func"
    // CHECK: sym_name = "island_one_op_all_locs_same"
    // CHECK:    "tf_executor.graph"() ({
    // CHECK-NEXT:      "tf_executor.island"() ({
    // CHECK-NEXT:        "tf.Identity"(%{{.*}}) : (tensor<f32>) -> tensor<f32> loc("identity@some_function")
    // CHECK-NEXT:        "tf_executor.yield"(%{{.*}}) : (tensor<f32>) -> () loc("identity@some_function")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 05 14:24:12 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/tf_executor_ops_printer.mlir

        // CHECK: tf_executor.island wraps "tf.IdentityN"
        %0:3 = tf_executor.island {
          %1:2 = "tf.IdentityN"(%arg0, %arg1) : (tensor<i32>, tensor<f32>) -> (tensor<i32>, tensor<f32>) loc("identity@some_function")
          tf_executor.yield %1#0, %1#1 : tensor<i32>, tensor<f32> loc("identity@some_function")
        } loc("identity@some_function")
        tf_executor.fetch
      }
      func.return
    }
    
    // CHECK-LABEL: func @island_no_wrap_print_mismatched_results
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  4. tests/test_dependency_contextvars.py

    
    client = TestClient(app)
    
    
    def test_dependency_contextvars():
        """
        Check that custom middlewares don't affect the contextvar context for dependencies.
    
        The code before yield and the code after yield should be run in the same contextvar
        context, so that request_state_context_var.reset(contextvar_token).
    
        If they are run in a different context, that raises an error.
        """
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Feb 17 12:40:12 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfr/resources/decomposition_lib.mlir

        scf.yield %applied_relu : !tfr.tensor
      } else {
        %is_relu6 = tfr.equal %act, %relu6 -> i1
        %res1 = scf.if %is_relu6 -> !tfr.tensor {
          %applied_relu6 = tfr.call @tf__relu6(%add) : (!tfr.tensor) -> !tfr.tensor
          scf.yield %applied_relu6 : !tfr.tensor
        } else {
          scf.yield %add : !tfr.tensor
        }
        scf.yield %res1 : !tfr.tensor
      }
      tfr.return %res : !tfr.tensor
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 13 16:33:28 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/graph_pruning.mlir

    // CHECK: tf_executor.island
      tf_executor.graph {
        %0 = tf_executor.island {
          tf_executor.yield
        }
        %1:2 = tf_executor.island {
          tf_executor.yield %arg0 : i32
        }
        %2 = tf_executor.island(%0) {
          %a = "tf.opA"(%1#0) : (i32) -> i32
          tf_executor.yield
        }
        tf_executor.fetch %2 : !tf_executor.control
      }
      func.return
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/while_op.mlir

    // CHECK:     %{{.*}}:2 = "tfl.while"(%{{.*}}, %{{.*}}) ({
    // CHECK:     ^bb0(%{{.*}}: tensor<*xi32>, %{{.*}}: tensor<*xf32>):
    // CHECK:       "tfl.yield"(%{{.*}}) : (tensor<i1>) -> ()
    // CHECK:     },  {
    // CHECK:     ^bb0(%{{.*}}: tensor<*xi32>, %{{.*}}: tensor<*xf32>):
    // CHECK:       "tfl.yield"(%{{.*}}, %{{.*}}) : (tensor<*xi32>, tensor<*xf32>) -> ()
    // CHECK:     }) : (tensor<i32>, tensor<1xf32>) -> (tensor<i32>, tensor<1xf32>)
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 14 16:41:28 UTC 2022
    - 2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/reduce_while_operands.mlir

    // CHECK-DAG:         "tfl.yield"(%[[VAL_1]]) : (tensor<i1>) -> ()
    // CHECK-DAG:       },  {
    // CHECK-DAG:       ^bb0(%[[A2_BODY:.*]]: tensor<i32>):
    // CHECK-DAG:         %[[CST_4:.*]] = arith.constant dense<1> : tensor<i32>
    // CHECK-DAG:         %[[VAL_2:.*]] = tfl.add %[[A2_BODY]], %[[CST_4]] {fused_activation_function = "NONE"} : tensor<i32>
    // CHECK-DAG:         "tfl.yield"(%[[VAL_2]]) : (tensor<i32>) -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 14:24:59 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  9. docs/em/docs/advanced/events.md

        🎲 👆 💪 ▶️ 🆕 ⏬, ⚖️ 👆 🤚 🎡 🏃 ⚫️. 🤷
    
    ### 🔆 🔢
    
    🥇 👜 👀, 👈 👥 ⚖ 🔁 🔢 ⏮️ `yield`. 👉 📶 🎏 🔗 ⏮️ `yield`.
    
    ```Python hl_lines="14-19"
    {!../../../docs_src/events/tutorial003.py!}
    ```
    
    🥇 🍕 🔢, ⏭ `yield`, 🔜 🛠️ **⏭** 🈸 ▶️.
    
    &amp; 🍕 ⏮️ `yield` 🔜 🛠️ **⏮️** 🈸 ✔️ 🏁.
    
    ### 🔁 🔑 👨‍💼
    
    🚥 👆 ✅, 🔢 🎀 ⏮️ `@asynccontextmanager`.
    
    👈 🗜 🔢 🔘 🕳 🤙 "**🔁 🔑 👨‍💼**".
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/PropertyAccessResolver.kt

                runPropertyAccessResolution(
                    propertyAccess,
                    onLocalValue = { yield(AssignmentResolution.ReassignLocalVal(it.localValue)) },
                    onProperty = { yield(AssignmentResolution.AssignProperty(PropertyReferenceResolution(it.receiver, it.property))) },
                    onExternalObject = { yield(AssignmentResolution.ReassignExternal(it)) }
                )
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:01 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top