Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 91 for yield4x (0.47 sec)

  1. 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)
  2. 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)
  3. tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_island_coarsening.cc

        }
      }
      OpBuilder::atBlockEnd(&island_body)
          .create<YieldOp>(new_island.getLoc(), yield_operands);
    
      // remap results of the new islands to the user outside of the island.
      int current_result = 0;
      Value control = new_island.getControl();
      for (IslandOp island : islands) {
        YieldOp yield_op = island.GetYield();
        for (const auto& idx_result : llvm::enumerate(island.getOutputs())) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/decompose_reduce_dataset.cc

      auto while_input_types = dataset_while.getOperandTypes();
      cond_block->addArguments(
          while_input_types, SmallVector<Location>(while_input_types.size(), loc));
      builder.create<YieldOp>(loc, cond_block->getArgument(0));
    }
    
    // Create an IfRegionOp with a predicate from `optional_has_value`.  If true, it
    // uses `get_next` to get the next value and calls `reduce_func`.  `body_args`
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/validation/metrics_test.go

            	apiextensions_apiserver_validation_ratcheting_seconds_sum 5e-09
            	apiextensions_apiserver_validation_ratcheting_seconds_count 5
    			`,
    			iters: 5,
    		},
    		{
    			desc: "valid change yields no metrics",
    			obj: &unstructured.Unstructured{
    				Object: map[string]interface{}{
    					"foo": "bar",
    				},
    			},
    			old: &unstructured.Unstructured{
    				Object: map[string]interface{}{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  6. docs/em/docs/tutorial/sql-databases.md

         &amp; ⤴️ 👥 🔐 ⚫️ `finally` 🍫.
    
        👉 🌌 👥 ⚒ 💭 💽 🎉 🕧 📪 ⏮️ 📨. 🚥 📤 ⚠ ⏪ 🏭 📨.
    
        ✋️ 👆 💪 🚫 🤚 ➕1️⃣ ⚠ ⚪️➡️ 🚪 📟 (⏮️ `yield`). 👀 🌖 [🔗 ⏮️ `yield` &amp; `HTTPException`](dependencies/dependencies-with-yield.md#yield-httpexception){.internal-link target=_blank}
    
    &amp; ⤴️, 🕐❔ ⚙️ 🔗 *➡ 🛠️ 🔢*, 👥 📣 ⚫️ ⏮️ 🆎 `Session` 👥 🗄 🔗 ⚪️➡️ 🇸🇲.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/sql-databases.md

        But you can't raise another exception from the exit code (after `yield`). See more in [Dependencies with `yield` and `HTTPException`](dependencies/dependencies-with-yield.md#dependencies-with-yield-and-httpexception){.internal-link target=_blank}
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  8. src/internal/concurrent/hashtriemap.go

    // safe to operate on the tree during iteration. No particular enumeration
    // order is guaranteed.
    func (ht *HashTrieMap[K, V]) All() func(yield func(K, V) bool) {
    	return func(yield func(key K, value V) bool) {
    		ht.iter(ht.root, yield)
    	}
    }
    
    func (ht *HashTrieMap[K, V]) iter(i *indirect[K, V], yield func(key K, value V) bool) bool {
    	for j := range i.children {
    		n := i.children[j].Load()
    		if n == nil {
    			continue
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 16:01:55 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/decompose_optionals.cc

        // match the "func.return" within the function.
        //
        // So this would transform
        // func.func @f(...) -> ... {
        //     yield %x : foo
        // }
        // ...
        // func.call @f(...) -> bar
        //
        // to
        //
        // func.func @f(...) -> ... {
        //     yield %x : foo
        // }
        // ...
        // func.call f(...) -> foo
        auto symbol_uses = f.getSymbolUses(f->getParentOp());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. docs/zh/docs/tutorial/sql-databases.md

        我们将`SessionLocal()`请求的创建和处理放在一个`try`块中。
    
        然后我们在finally块中关闭它。
    
        通过这种方式,我们确保数据库会话在请求后始终关闭。即使在处理请求时出现异常。
    
        但是您不能从退出代码中引发另一个异常(在yield之后)。可以查阅 [Dependencies with yield and HTTPException](https://fastapi.tiangolo.com/zh/tutorial/dependencies/dependencies-with-yield/#dependencies-with-yield-and-httpexception)
    
    *然后,当在路径操作函数*中使用依赖项时,我们使用`Session`,直接从 SQLAlchemy 导入的类型声明它。
    
    *这将为我们在路径操作函数*中提供更好的编辑器支持,因为编辑器将知道`db`参数的类型`Session`:
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue May 07 21:00:22 UTC 2024
    - 27.3K bytes
    - Viewed (0)
Back to top