Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 603 for yield4 (0.11 sec)

  1. 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)
  2. tensorflow/compiler/mlir/tensorflow/tests/merge_control_flow.mlir

            "tf.Yield"() : () -> ()
            }, {
            "tf.Yield"() : () -> ()
           }) {is_stateless = true} : (tensor<i1>) -> ()
           "tf.Yield"(%1) : (tensor<i1>) -> ()
        }, {
        ^bb0(%arg1: tensor<i32>, %arg2: tensor<?xf32>):
          "tf.IfRegion"(%0) ({
            %2 = "tf.B"() : () -> (tensor<f32>)
            "tf.Yield"() : () -> ()
            }, {
            "tf.Yield"() : () -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 63.7K bytes
    - Viewed (0)
  3. 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)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

     * Runs a [TaskRunner] in a controlled environment so that everything is sequential and
     * deterministic.
     *
     * This class ensures that at most one thread is running at a time. This is initially the JUnit test
     * thread, which yields its execution privilege while calling [runTasks], [runNextTask], or
     * [advanceUntil]. These functions don't return until the task threads are all idle.
     *
     * Task threads release their execution privilege in these ways:
     *
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  5. 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)
  6. tensorflow/compiler/mlir/tensorflow/tests/executor_island_coarsening.mlir

      %0:2 = tf_executor.graph {
        %1:2 = tf_executor.island {
          tf_executor.yield %arg1 : tensor<i1>
        }
        %2:2 = tf_executor.island {
          tf_executor.yield %arg0 : tensor<i1>
        }
        %3:2 = tf_executor.island {
          tf_executor.yield %1#0 : tensor<i1>
        }
        %4:2 = tf_executor.island {
          tf_executor.yield %2#0 : tensor<i1>
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 17.8K bytes
    - Viewed (0)
  7. 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)
  8. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/DirectoryNodeTest.groovy

            removedNodes.empty
    
            where:
            vfsSpec << onlyDirectChildren(NO_COMMON_PREFIX + SAME_PATH + CHILD_IS_PREFIX)
        }
    
        def "querying the snapshot for non-existent child #vfsSpec.searchedPath yields a missing file (#vfsSpec)"() {
            setupTest(vfsSpec)
    
            when:
            FileSystemLocationSnapshot foundSnapshot = initialRoot.getSnapshot(searchedPath, CASE_SENSITIVE).get() as FileSystemLocationSnapshot
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/executor_canonicalize.mlir

      tf_executor.graph {
        %0 = tf_executor.island {
          tf_executor.yield
        }
        %1 = tf_executor.island(%0) {
          %3 = "tf.opA"() : () -> tensor<i1>
          tf_executor.yield
        }
        %2 = tf_executor.island(%0, %1) {
          %4 = "tf.opB"() : () -> tensor<i1>
          tf_executor.yield
        }
        tf_executor.fetch
      }
      func.return
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Nov 04 14:07:37 UTC 2022
    - 13.6K 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