Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 2,014 for yield (0.06 sec)

  1. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/ConfigurationCacheReport.kt

                    hasher.putString(element.toString())
                }
            }
            return hasher.hash()
        }
    
        private
        suspend fun SequenceScope<Failure>.visitFailures(failure: Failure) {
            yield(failure)
            failure.suppressed.forEach { visitFailures(it) }
            failure.causes.forEach { visitFailures(it) }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_sql_databases/test_sql_databases_py39.py

        from docs_src.sql_databases.sql_app_py39 import main
    
        # Ensure import side effects are re-executed
        importlib.reload(main)
        with TestClient(main.app) as c:
            yield c
        if test_db.is_file():  # pragma: nocover
            test_db.unlink()
        os.chdir(cwd)
    
    
    @needs_py39
    # TODO: pv2 add version with Pydantic v2
    @needs_pydanticv1
    def test_create_user(client):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/KotlinBuildScriptIntegrationTest.kt

                    doLast {
    
                        // Coroutines are no longer experimental
                        val coroutine = sequence {
                            // Unsigned integer types
                            yield(42UL)
                        }
    
                        // Capturing when
                        when (val value = coroutine.first()) {
                            42UL -> print("42!")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 29 11:39:00 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

      // Inline the region in place of the IfRegion op, and forward the yield
      // inputs to the IfRegion op results. This is possible only if the yield
      // types match the result types.
      auto yield = cast<YieldOp>(region.front().getTerminator());
      auto updated_results = llvm::to_vector<4>(yield.getOperands());
    
      // If the yield types do not match the IfRegion result types, add appropriate
      // casts.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_freeze_global_tensors.mlir

    func.func private @cond(%arg0: !tf_res, %arg1: !tf_res) -> (tensor<i32>) {
      %graph = tf_executor.graph {
        %island, %ctrl = tf_executor.island {
          %pred = "tf.SomeOp"() : () -> tensor<i32>
          tf_executor.yield %pred : tensor<i32>
        }
        tf_executor.fetch %island : tensor<i32>
      }
      func.return %graph : tensor<i32>
    }
    
    // CHECK-LABEL: @test_while_loop
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 03:07:35 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td

      regions accept the current value of the iteration variables as inputs.
    
      The condition region yields a tensor<i1> which, if false, will exit the loop.
      It can also, optionally and additionally, yield the iteration variables, which
      must be unchanged.
    
      The body region always has to yield the (possibly updated) iteration variables.
    
      The iteration variables are initialized to the Op input, and the results of the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 04:08:35 UTC 2024
    - 90.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/remove_unused_arguments.cc

          }
        }
      }
      return invariant;
    }
    
    Operation* GetAnyReturn(Region* region) {
      Operation* result;
      // We only go one level deep, since "returns" in nested functions
      // and return-as-yield CF don't belong to us.
      for (Block& block : region->getBlocks()) {
        for (Operation& op : block.getOperations()) {
          if (op.hasTrait<OpTrait::ReturnLike>()) result = &op;
        }
      }
      return result;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/functional_control_flow_to_regions.cc

      }
      void runOnOperation() override;
    };
    
    // Creates a call to function `func` in region `caller_region`. Use `args` as
    // the call arguments, and terminate the region with a yield. The arguments are
    // cast to the required type before the call. `use_region_args` control whether
    // the input arguments are used as is (for IfOp) or block arguments of the same
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

            newStartedThread(
                new CheckedRunnable() {
                  @Override
                  public void realRun() {
                    while (!a.compareAndSet(0, 2.0, 3.0)) {
                      Thread.yield();
                    }
                  }
                });
    
        assertTrue(a.compareAndSet(0, 1.0, 2.0));
        awaitTermination(t);
        assertBitEquals(3.0, a.get(0));
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/insert_calibration_statistics_saver.mlir

          %6 = "tf.Identity"(%output_6) {device = ""} : (tensor<1x3xf32>) -> tensor<1x3xf32>
          "tf.Yield"(%4, %6) {device = ""} : (tensor<i1>, tensor<1x3xf32>) -> ()
        }, {
          %4 = "tf.Identity"(%cst_3) {device = ""} : (tensor<i1>) -> tensor<i1>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 24.3K bytes
    - Viewed (0)
Back to top