- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 411 for yield4x (0.53 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/region_control_flow_to_functional.cc
// r0, r1, ..., rN = func.call @foo(arg0, arg1, ..., argN) // "tf.yield"(r0, r1, ..., rN) if (!region.hasOneBlock()) return std::nullopt; Block& block = region.front(); if (std::distance(block.begin(), block.end()) != 2) return std::nullopt; TF::YieldOp yield = llvm::dyn_cast_or_null<TF::YieldOp>(block.getTerminator()); if (!yield) return std::nullopt;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 28.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_outline_tpu_island.cc
outlined_func.setNested(); // We will "steal" the body of the island and replace it with a call to the // new function later. { YieldOp yield_op = island_op.GetYield(); outlined_func.getBody().takeBody(island_op.getBody()); // Replace the yield with a return OpBuilder replacer(yield_op); island_op.getBody().push_back(new Block); replacer.create<mlir::func::ReturnOp>(yield_op.getLoc(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/while_loop_outline.cc
// to functions). bool IsAlreadyOutlined(WhileOp while_op) { auto just_call = [](Region& region) { auto it = region.front().begin(); if (!isa<func::CallOp>(*it)) return false; ++it; if (!isa<YieldOp>(*it)) return false; return true; }; return just_call(while_op.getBody()) && just_call(while_op.getCond()); } bool IsCompatibleTypeWithTFLCastOp(Type type) { auto elemType = getElementTypeOrSelf(type);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_functional_to_executor.cc
island.getBody().front().begin(), body.getOperations(), copy_range.begin(), copy_range.end()); builder.setInsertionPointToEnd(&island.getBody().front()); builder.create<tf_executor::YieldOp>(loc, return_op.getOperands()); for (auto item : llvm::enumerate(graph_op.getResults())) { return_op.setOperand(item.index(), item.value()); } } std::unique_ptr<OperationPass<func::FuncOp>>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Aug 11 20:52:36 UTC 2023 - 4.1K bytes - Viewed (0) -
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) -
tensorflow/compiler/mlir/tensorflow/transforms/replicate_to_island.cc
llvm::SmallVector<Value, 8> replica_inputs(island_op.getControlInputs()); // Replace replicate terminator with YieldOp. builder.setInsertionPoint(&terminator); builder.create<tf_executor::YieldOp>(terminator.getLoc(), terminator.getOperands()); terminator.erase(); builder.setInsertionPoint(island_op); IRMapping mapping;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jul 24 21:01:40 UTC 2023 - 16.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/functional_control_flow_to_regions.cc
// 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 // type as the input arguments are created and then used as call arguments (for // While). YieldOp CreateCall(Operation* op, func::FuncOp func, Region& caller_region,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11K bytes - Viewed (0) -
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) -
src/cmd/compile/internal/reflectdata/helpers.go
// expression that yields the *runtime._type value representing typ. func kindRType(pos src.XPos, typ *types.Type, k types.Kind) ir.Node { base.AssertfAt(typ.Kind() == k, pos, "want %v type, have %v", k, typ) return TypePtrAt(pos, typ) } // mapRType asserts that typ is a map type, and returns an expression // that yields the *runtime._type value representing typ.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 12 04:50:32 UTC 2023 - 7.1K bytes - Viewed (0) -
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)