Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,311 for yield (0.04 sec)

  1. docs/em/docs/tutorial/dependencies/dependencies-with-yield.md

    ⚫️ 5️⃣📆 😋 🤚 `HTTPException` ⚖️ 🎏 🚪 📟, ⏮️ `yield`. ✋️ **⚫️ 🏆 🚫 👷**.
    
    🚪 📟 🔗 ⏮️ `yield` 🛠️ *⏮️* 📨 📨, [⚠ 🐕‍🦺](../handling-errors.md#_4){.internal-link target=_blank} 🔜 ✔️ ⏪ 🏃. 📤 🕳 😽 ⚠ 🚮 👆 🔗 🚪 📟 (⏮️ `yield`).
    
    , 🚥 👆 🤚 `HTTPException` ⏮️ `yield`, 🔢 (⚖️ 🙆 🛃) ⚠ 🐕‍🦺 👈 ✊ `HTTPException`Ⓜ & 📨 🇺🇸🔍 4️⃣0️⃣0️⃣ 📨 🏆 🚫 📤 ✊ 👈 ⚠ 🚫🔜.
    
    👉 ⚫️❔ ✔ 🕳 ⚒ 🔗 (✅ 💽 🎉), 🖼, ⚙️ 🖥 📋.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. test/range4.go

    package main
    
    var gj int
    
    func yield4x(yield func() bool) {
    	_ = yield() && yield() && yield() && yield()
    }
    
    func yield4(yield func(int) bool) {
    	_ = yield(1) && yield(2) && yield(3) && yield(4)
    }
    
    func yield3(yield func(int) bool) {
    	_ = yield(1) && yield(2) && yield(3)
    }
    
    func yield2(yield func(int) bool) {
    	_ = yield(1) && yield(2)
    }
    
    func testfunc0() {
    	j := 0
    	for range yield4x {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 08 16:00:53 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/parallel_execute_to_islands.mlir

          }, {
            tf_device.return
          }) {} : () -> ()
          tf_executor.yield
        }
        tf_executor.fetch
      }
      func.return
    }
    
    // CHECK:      [[ISLAND_0_CTRL:%.+]] = tf_executor.island {
    // CHECK:        tf_executor.yield {_parallel_execution_ids = "p0:0"}
    // CHECK:      [[ISLAND_1_CTRL:%.+]] = tf_executor.island {
    // CHECK:        tf_executor.yield {_parallel_execution_ids = "p0:1"}
    // CHECK:      tf_executor.fetch
    
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 19 19:47:16 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/parallel_execute_to_islands_legacy.mlir

          }, {
            tf_device.return
          }) {} : () -> ()
          tf_executor.yield
        }
        tf_executor.fetch
      }
      func.return
    }
    
    // CHECK:      [[ISLAND_0_CTRL:%.+]] = tf_executor.island {
    // CHECK:        tf_executor.yield
    // CHECK:      [[ISLAND_1_CTRL:%.+]] = tf_executor.island {
    // CHECK:        tf_executor.yield
    // CHECK:      tf_executor.fetch [[ISLAND_0_CTRL]], [[ISLAND_1_CTRL]] :
    
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 19 19:47:16 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/switchn.mlir

            "tf_executor.yield"(%0) : (tensor<*xi32>) -> ()
          }) : () -> (tensor<*xi32>, !tf_executor.control)
          %outputs_4, %control_5 = "tf_executor.island"(%control_3) ({
            %0 = "tf.Const"() {device = "", value = dense<2.000000e+00> : tensor<f32>} : () -> tensor<f32>
            "tf_executor.yield"(%0) : (tensor<f32>) -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 22 14:25:57 UTC 2022
    - 4K bytes
    - Viewed (0)
  6. src/reflect/iter.go

    			break
    		}
    		return func(yield func(Value) bool) {
    			v = v.Elem()
    			for i := range v.Len() {
    				if !yield(ValueOf(i)) {
    					return
    				}
    			}
    		}
    	case Array, Slice:
    		return func(yield func(Value) bool) {
    			for i := range v.Len() {
    				if !yield(ValueOf(i)) {
    					return
    				}
    			}
    		}
    	case String:
    		return func(yield func(Value) bool) {
    			for i := range v.String() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 13:40:11 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/check_control_dependencies.mlir

          tf_executor.yield
        }
        %island2 = tf_executor.island(%island1) {
          "tf.NoOp"() : () -> ()
          tf_executor.yield
        }
        %island3 = tf_executor.island(%island2) {
          "tf.NoOp"() : () -> ()
          tf_executor.yield
        }
        %island4:2 = tf_executor.island(%island3) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 31 16:14:07 UTC 2022
    - 8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/pin-ops-with-side-effects.mlir

      "tfl.if"(%arg0) (
      {
        // then
        ^bb0:
         "tfl.yield"() : () -> ()
      },
      {
        // else
       ^bb0:
        "tfl.yield"() : () -> ()
      }) : (tensor<1xi1>) -> ()
      func.return
    }
    // CHECK-NEXT: %[[CONTROL:.*]] = tfl.control_node controls "tfl.if"
    // CHECK-NEXT: "tfl.yield"() : () -> ()
    // CHECK-NEXT: }, {
    // CHECK-NEXT: "tfl.yield"() : () -> ()
    // CHECK-NEXT: }) : (tensor<1xi1>) -> ()
    // CHECK-NEXT: return
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 17 10:45:19 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  9. src/runtime/race/testdata/rangefunc_test.go

    	"testing"
    )
    
    type Seq2[T1, T2 any] func(yield func(T1, T2) bool)
    
    // ofSliceIndex returns a Seq over the elements of s. It is equivalent
    // to range s, except that it splits s into two halves and iterates
    // in two separate goroutines.  This is racy if yield is racy, and yield
    // will be racy if it contains an early exit.
    func ofSliceIndex[T any, S ~[]T](s S) Seq2[int, T] {
    	return func(yield func(int, T) bool) {
    		c := make(chan bool, 2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. src/runtime/testdata/testprog/coro.go

    	return nil
    }
    
    func iterSimple(yield func(int) bool) {
    	for range 3 {
    		if !yield(5) {
    			return
    		}
    	}
    }
    
    func iterNested(yield func(int) bool) {
    	next, stop := iter.Pull(iterSimple)
    	for {
    		v, ok := next()
    		if ok {
    			if !yield(v) {
    				stop()
    			}
    		} else {
    			return
    		}
    	}
    }
    
    func iterLock(yield func(int) bool) {
    	for range 3 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 19:46:10 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top