Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 2,784 for yield (0.5 sec)

  1. android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

                  while (!shutdown.get()) {
                    interruptee.interrupt();
                    Thread.yield();
                  }
                }
              });
          this.shutdown = shutdown;
          start();
        }
    
        void shutdown() {
          shutdown.set(true);
          while (this.isAlive()) {
            Thread.yield();
          }
        }
      }
    
      void assertWrapsInterruptedException(RuntimeException e) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/while_loop_outline.cc

      for (Value value : extern_values) {
        auto arg = block.addArgument(value.getType(), loc);
        replaceAllUsesInRegionWith(value, arg, func_region);
        new_args.push_back(arg);
      }
    
      // Replace yield op with return.
      Operation* yield_op = outlined_func.getBody().front().getTerminator();
      OpBuilder b(yield_op);
      llvm::SmallVector<Value, 4> args;
      auto loop_carried_yield_operands =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/inlining.mlir

          %result_2 = "tf.StatefulPartitionedCall"() {config = "", config_proto = "", executor_type = "", f = @inline_into_island_multi_block_callee} : () -> tensor<2xi32>
    
          // CHECK-NEXT: tf_executor.yield %[[CST]], %[[CALL]]
          tf_executor.yield %result, %result_2 : tensor<2xi32>, tensor<2xi32>
        }
        tf_executor.fetch %1#1, %1#1 : tensor<2xi32>, tensor<2xi32>
      }
      func.return %0#1, %0#1 : tensor<2xi32>, tensor<2xi32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  4. cni/pkg/install/install.go

    	// at this moment, and if not, yield. This is to catch other CNIs which might have mutated the file between
    	// the (theoretical) window after we initially install/write, but before we actually start the filewatch.
    	if err := checkValidCNIConfig(in.cfg, in.cniConfigFilepath); err != nil {
    		return nil
    	}
    
    	// If a file we are watching has a change event, yield and let caller check validity
    	select {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:18 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/tests/bridge/convert-tf-quant-types.mlir

      // CHECK-NEXT:   "tf.Yield"(%arg1) : (tensor<1xi8>) -> ()
      // CHECK-NEXT:   }, {
      // CHECK-NEXT:   "tf.Yield"(%arg2) : (tensor<1xi8>) -> ()
      // CHECK-NEXT:  }) : (tensor<i1>) -> tensor<1xi8>
      // CHECK-NEXT: return %0 : tensor<1xi8>
      %0 = "tf.IfRegion"(%arg0) <{is_stateless = false}> ({
        "tf.Yield"(%arg1) : (tensor<1x!tf_type.qint8>) -> ()
        }, {
        "tf.Yield"(%arg2) : (tensor<1x!tf_type.qint8>) -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 25.9K bytes
    - Viewed (0)
  6. test/rangegen.go

    	if verbose {
    		println("did", "%[3]s", "%[4]s", len(all))
    	}
    }
    `
    
    var mainCode = `
    
    func main() {
    	if verbose {
    		println("main")
    	}
    	%s
    }
    
    func yield2(yield func(int)bool) { _ = yield(1) && yield(2) }
    var slice2 = []int{1,2}
    
    type output struct {
    	ret int
    	trace []any
    }
    
    func (o *output) log(x any) {
    	o.trace = append(o.trace, x)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 23:35:19 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/KtFirPackageScope.kt

            sequence {
                analysisSession.useSitePackageProvider.getSubPackageFqNames(fqName, analysisSession.targetPlatform, nameFilter).forEach {
                    yield(analysisSession.firSymbolBuilder.createPackageSymbol(fqName.child(it)))
                }
            }
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/experimental/tac/tests/raise-target-subgraphs.mlir

    module {
    func.func @simpleWhile(%arg0: tensor<i32>) -> tensor<i32> {
      %0 = "tfl.while"(%arg0) ({
      ^bb0(%block: tensor<i32>):
        "tfl.yield"(%block) : (tensor<i32>) -> ()
      },{
      ^bb0(%block: tensor<i32>):
        "tfl.yield"(%block) : (tensor<i32>) -> ()
      }) {tac.device = "CPU", fused_activation_function = "RELU6", tac.inference_type = "FLOAT"} : (tensor<i32>) -> tensor<i32>
      func.return %0 : tensor<i32>
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  9. src/vendor/golang.org/x/crypto/sha3/shake.go

    // N is used to define functions based on cSHAKE, it can be empty when plain cSHAKE is
    // desired. S is a customization byte string used for domain separation - two cSHAKE
    // computations on same input with different S yield unrelated outputs.
    // When N and S are both empty, this is equivalent to NewShake128.
    func NewCShake128(N, S []byte) ShakeHash {
    	if len(N) == 0 && len(S) == 0 {
    		return NewShake128()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_async_sql_databases/test_tutorial001.py

    from ...utils import needs_pydanticv1
    
    
    @pytest.fixture(name="app", scope="module")
    def get_app():
        with pytest.warns(DeprecationWarning):
            from docs_src.async_sql_databases.tutorial001 import app
        yield app
    
    
    # TODO: pv2 add version with Pydantic v2
    @needs_pydanticv1
    def test_create_read(app: FastAPI):
        with TestClient(app) as client:
            note = {"text": "Foo bar", "completed": False}
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Oct 18 12:36:40 UTC 2023
    - 6K bytes
    - Viewed (0)
Back to top