Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 539 for yield4x (0.18 sec)

  1. src/runtime/testdata/testprogcgo/coro.go

    	})
    	return err
    }
    
    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 iterCallback(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.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/launch_to_device_attribute_legacy.mlir

          tf_executor.yield %a, %launch#0, %launch#1, %c : tensor<i1>, tensor<f32>, tensor<i32>, tensor<i1>
        }
        tf_executor.fetch
      }
      func.return
    }
    
    // CHECK:      %[[A:.*]] = "tf.opA"
    // CHECK:      %[[B:.*]]:2 = "tf.opB"(%[[A]])
    // CHECK-SAME: device = "CPU:0"
    // CHECK:      %[[C:.*]] = "tf.opC"
    // CHECK-NOT:  "tf_device.launch"
    // CHECK:      tf_executor.yield %[[A]], %[[B]]#1, %[[B]]#0, %[[C]]
    
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 21 20:14:51 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_outline_island/executor_tpuv1_outline_tpu_island.mlir

          %3 = "tf.opA"(%arg0) : (tensor<i1>) -> tensor<i1>
          tf_executor.yield %3 : tensor<i1>
        }
        %2:2 = tf_executor.island(%1#1) {
          %4 = "tf.opB"() : () -> tensor<f32>
          tf_executor.yield %4 : tensor<f32>
        }
        tf_executor.fetch %2#0 : tensor<f32>
      }
      func.return %0 : tensor<f32>
    }
    
    // CHECK-LABEL: @func2
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 04 03:54:58 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/eventbus/Dispatcher.java

       * all subscribers in the order they are posted.
       *
       * <p>When all subscribers are dispatched to using a <i>direct</i> executor (which dispatches on
       * the same thread that posts the event), this yields a breadth-first dispatch order on each
       * thread. That is, all subscribers to a single event A will be called before any subscribers to
       * any events B and C that are posted to the event bus by the subscribers to A.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/eventbus/Dispatcher.java

       * all subscribers in the order they are posted.
       *
       * <p>When all subscribers are dispatched to using a <i>direct</i> executor (which dispatches on
       * the same thread that posts the event), this yields a breadth-first dispatch order on each
       * thread. That is, all subscribers to a single event A will be called before any subscribers to
       * any events B and C that are posted to the event bus by the subscribers to A.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/split_into_island_per_op.mlir

    func.func @multiple_func_body_ops() {
      tf_executor.graph {
        tf_executor.island {
          "tf.NoOp"() : () -> ()
          tf_executor.yield
        }
        tf_executor.fetch
      }
      tf_executor.graph {
        tf_executor.island {
          "tf.NoOp"() : () -> ()
          tf_executor.yield
        }
        tf_executor.fetch
      }
      func.return
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 20.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

      if (!control_node.GetBody().args_empty())
        return control_node.emitOpError() << "expects body without any arguments";
    
      Operation& yield = control_node.GetBody().back();
      if (!isa<YieldOp>(yield))
        return yield.emitOpError()
               << "invalid TFL.control_node terminator, yield expected";
    
      // Ensure that the terminator's operands and the control_node results match in
      // types.
      const int result_count =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  8. src/maps/iter.go

    	return func(yield func(K, V) bool) {
    		for k, v := range m {
    			if !yield(k, v) {
    				return
    			}
    		}
    	}
    }
    
    // Keys returns an iterator over keys in m.
    // The iteration order is not specified and is not guaranteed
    // to be the same from one call to the next.
    func Keys[Map ~map[K]V, K comparable, V any](m Map) iter.Seq[K] {
    	return func(yield func(K) bool) {
    		for k := range m {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 13:41:45 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/replicate_to_island_legacy.mlir

            tf_device.return %2 : tensor<i64>
          }
          tf_executor.yield %1#0, %1#1 : tensor<i64>, tensor<i64>
        }
        tf_executor.fetch
      }
      func.return
    }
    
    // CHECK:      tf_executor.island
    // CHECK:      [[CONST_0:%.+]] = "tf.Const"
    // CHECK-SAME: value = dense<1> : tensor<i64>
    // CHECK:      tf_executor.yield [[CONST_0]]
    // CHECK:      tf_executor.island
    // CHECK:      [[CONST_1:%.+]] = "tf.Const"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/convert-tf-control-flow-to-scf.mlir

        %add = "tf.AddV2"(%call, %call) : (tensor<4xf32>, tensor<4xf32>) -> tensor<4xf32>
        "tf.Yield"(%call, %add) : (tensor<4xf32>, tensor<4xf32>) -> ()
      },  {
        %call_0 = func.call @test_if_else1(%arg1) : (tensor<4xf32>) -> tensor<4xf32>
        "tf.Yield"(%call_0, %call_0) : (tensor<4xf32>, tensor<4xf32>) -> ()
      }) {is_stateless = false} : (tensor<i1>) -> (tensor<*xf32>, tensor<4xf32>)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 5.2K bytes
    - Viewed (0)
Back to top