Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,631 for yield (0.04 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/region_control_flow_to_functional.cc

      auto it = block.rbegin();
      YieldOp yield = dyn_cast<YieldOp>(*it++);
    
      if (it == block.rend()) return std::nullopt;
    
      // Operation which is expected to consume all the call results.
      Operation* call_consumer = yield;
    
      // Allow a single ToBoolOp between the call and the yield (valid only
      // when the yield has a single operand)
      if (allow_to_bool && yield.getNumOperands() == 1 && isa<ToBoolOp>(*it)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/tf_executor_ops_invalid.mlir

      func.return
    }
    
    // -----
    
    // Check that a tf_executor.yield parent is a tf_executor.island.
    func.func @parent_is_island() {
      "tf.some_op"() ({
        tf_executor.yield
    // expected-error@-1 {{'tf_executor.yield' op expects parent op 'tf_executor.island'}}
      }) : () -> ()
      func.return
    }
    
    // -----
    
    // Check that an island yield matches the island results.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 19 01:12:10 UTC 2023
    - 28.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/breakup-islands.cc

      OpBuilder builder(&island.GetBody(), island.GetBody().begin());
      tf_executor::YieldOp yield = island.GetYield();
      if (yield.getNumOperands() == 0) {
        builder.create<TF::NoOp>(island.getLoc(), TypeRange{}, ValueRange{});
      } else if (yield.getNumOperands() == 1) {
        Value operand = yield.getOperand(0);
        auto identity = builder.create<TF::IdentityOp>(island.getLoc(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 11 20:52:36 UTC 2023
    - 16.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/tpu-variable-runtime-reformatting.mlir

        %1 = "tf.WhileRegion"(%0) ({
           // Condition region
           // CHECK: ^bb
           // CHECK: "tf.Yield"
           ^bb0(%carg0: tensor<i32>):
              %c0 = "tf.Const"() {value = dense<0> : tensor<i32>} : () -> tensor<i32>
              %c1 = "tf.GreaterEqual"(%carg0, %0) {T = i32, device = ""} : (tensor<i32>, tensor<i32>) -> tensor<i1>
              "tf.Yield"(%c1) : (tensor<i1>) -> ()
          }, {
           // Body region
           // CHECK: ^bb0
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 25.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/resource-alias-analysis-test.mlir

                "tf.Yield"(%u0, %id0, %id0) : (!tf_res, !tf_res, !tf_res) -> ()
              }, {
                // expected-remark@below {{Result #0, ID 3 : 0, 1, 3, 4, 5}}
                %id0 = "tf.Identity"(%vh0) : (!tf_res) -> !tf_res
                "tf.Yield"(%id0, %id0, %arg0) : (!tf_res, !tf_res, !tf_res) -> ()
              }, {
                "tf.Yield"(%vh0, %arg1, %arg1) : (!tf_res, !tf_res, !tf_res) -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jul 21 17:19:47 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc

    }
    
    mlir::LogicalResult IslandOp::verify() {
      IslandOp island = *this;
      if (!island.GetBody().args_empty())
        return island.emitOpError() << "expects body without any arguments";
    
      Operation &yield = island.GetBody().back();
      if (!isa<YieldOp>(yield))
        return yield.emitOpError()
               << "invalid tf_executor.island terminator, yield expected";
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  7. pkg/kubelet/clustertrustbundle/clustertrustbundle_manager_test.go

    	informerFactory.Start(ctx.Done())
    	if !cache.WaitForCacheSync(ctx.Done(), ctbInformer.Informer().HasSynced) {
    		t.Fatalf("Timed out waiting for informer to sync")
    	}
    
    	t.Run("foo should yield the first certificate", func(t *testing.T) {
    		gotBundle, err := ctbManager.GetTrustAnchorsByName("foo", false)
    		if err != nil {
    			t.Fatalf("Got error while calling GetTrustAnchorsBySigner: %v", err)
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 15.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java

                        yield webConfigService.getWebConfig(id).get();
                    }
                    case FILE -> {
                        final FileConfigService fileConfigService = ComponentUtil.getComponent(FileConfigService.class);
                        yield fileConfigService.getFileConfig(id).get();
                    }
                    case DATA -> {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/tf_executor_ops.mlir

        %1 = tf_executor.island {
          tf_executor.yield
        }
        %2 = tf_executor.island {
          tf_executor.yield
        }
        %3:2 = tf_executor.island(%1, %2) {
          tf_executor.yield %arg0 : tensor<*xf32>
        }
        tf_executor.fetch %3#0 : tensor<*xf32>
      }
    // CHECK:      %[[ISLAND0:[a-z_0-9]*]] = tf_executor.island {
    // CHECK-NEXT:   tf_executor.yield
    // CHECK:      %[[ISLAND1:[a-z_0-9]*]] = tf_executor.island {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 25.8K bytes
    - Viewed (0)
  10. tests/test_dependency_contextmanager.py

        pass
    
    
    async def asyncgen_state(state: Dict[str, str] = Depends(get_state)):
        state["/async"] = "asyncgen started"
        yield state["/async"]
        state["/async"] = "asyncgen completed"
    
    
    def generator_state(state: Dict[str, str] = Depends(get_state)):
        state["/sync"] = "generator started"
        yield state["/sync"]
        state["/sync"] = "generator completed"
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Feb 24 23:06:37 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top