Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,631 for yield (0.04 sec)

  1. tensorflow/compiler/mlir/tensorflow/g3doc/tf_dialects.md

    // argument of the yield terminator, as well as an extra control token.
    %2, %ctl2 = tf_executor.island (%ctl0)
                      : (tensor<*xf32>, !tf_executor<"control">) -> tensor<*xf32> {
      %added = tf.Add %1, %0 : tensor<*xf32>
      %mul = tf.Mul %added, %1 :tensor<*xf32>
    
      // The yield terminator operands are the result values of the island.
      tf_executor.yield %mul : tensor<*xf32>
    }
    ```
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 13 16:33:28 UTC 2021
    - 16K bytes
    - Viewed (0)
  2. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/inet/SocketConnection.java

                    if (count < 0) {
                        throw new EOFException();
                    } else if (count == 0) {
                        // buffer was full, just call Thread.yield
                        Thread.yield();
                    }
                }
                return count;
            }
    
            private void waitForWriteBufferToDrain() throws IOException {
                if (selector == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/stmt.go

    		switch {
    		case cb.Params().Len() > 2:
    			return bad("func must be func(yield func(...) bool): yield func has too many parameters")
    		case cb.Results().Len() != 1 || !isBoolean(cb.Results().At(0).Type()):
    			return bad("func must be func(yield func(...) bool): yield func does not return bool")
    		}
    		if cb.Params().Len() >= 1 {
    			key = cb.Params().At(0).Type()
    		}
    		if cb.Params().Len() >= 2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  4. src/go/types/stmt.go

    		switch {
    		case cb.Params().Len() > 2:
    			return bad("func must be func(yield func(...) bool): yield func has too many parameters")
    		case cb.Results().Len() != 1 || !isBoolean(cb.Results().At(0).Type()):
    			return bad("func must be func(yield func(...) bool): yield func does not return bool")
    		}
    		if cb.Params().Len() >= 1 {
    			key = cb.Params().At(0).Type()
    		}
    		if cb.Params().Len() >= 2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/custom-response.md

    1. This is the generator function. It's a "generator function" because it contains `yield` statements inside.
    2. By using a `with` block, we make sure that the file-like object is closed after the generator function is done. So, after it finishes sending the response.
    3. This `yield from` tells the function to iterate over that thing named `file_like`. And then, for each part iterated, yield that part as coming from this generator function.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt

            val parts = fqName.pathSegments()
            if (parts.isEmpty()) {
                yield(FqNameInterpretation.create(packageParts = emptyList(), classParts = emptyList(), callable = null))
                return@sequence
            }
            for (lastPackagePartIndexExclusive in 0..parts.size) {
                yield(
                    FqNameInterpretation.create(
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  7. src/image/color/ycbcr.go

    	// 0x80, Cr: 0x80} and c1 := Gray{Y: y} then c0.RGBA() should equal
    	// c1.RGBA(). Specifically, if y == 0 then "R = etc >> 8" should yield
    	// 0x0000 and if y == 0xff then "R = etc >> 8" should yield 0xffff. If we
    	// used a constant rounding adjustment of 1<<15, then it would yield 0x0080
    	// and 0xff80 respectively.
    	//
    	// Note that when cb == 0x80 and cr == 0x80 then the formulae collapse to:
    	//	R = YY1 >> n
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/replicate_to_island.cc

    //       tf_device.return %3 : tensor<i1>
    //     }) {device = "DEVICE_ALIAS_1"} : () -> tensor<i1>
    //     tf_device.return %a, %b : tensor<i1>, tensor<i1>
    //   }
    //   tf_executor.yield %1#0 : tensor<i1>
    // }
    //
    // gets lowered to:
    //
    // %0:3 = tf_executor.island(%control) {
    //   %a0 = "tf_device.launch"() ({
    //     %1 = "tf.opA"(%arg0) : (tensor<i1>) -> tensor<i1>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jul 24 21:01:40 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

              taskRunner: TaskRunner,
              nanos: Long,
            ) {
              taskRunner.assertThreadHoldsLock()
              check(waitingCoordinatorTask == null)
              if (nanos == 0L) return
    
              // Yield until notified, interrupted, or the duration elapses.
              val waitUntil = nanoTime + nanos
              val self = currentTask
              waitingCoordinatorTask = self
              waitingCoordinatorNotified = false
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/extract_head_tail_outside_compilation.mlir

            %7 = "tf.H"(%arg1) :  (tensor<i32>) -> tensor<i1>
            "tf.Yield"(%7) : (tensor<i1>) -> ()
          }, {
          ^bb0(%arg1: tensor<i32>, %arg2: tensor<f32>):
            %8 = "tf.C"(%arg1) : (tensor<i32>) -> tensor<i32>
            %9 = "tf.D"(%arg1, %arg2) : (tensor<i32>, tensor<f32>) -> tensor<f32>
            "tf.Yield"(%8, %9) : (tensor<i32>, tensor<f32>) -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 29.1K bytes
    - Viewed (0)
Back to top