- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 566 for yielded (0.14 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/convert_tf_control_flow_to_scf.cc
moveBlock(&tf_then_or_else_region.front(), &scf_then_or_else_region.front(), TypeRange(), rewriter); // Replace the current terminator (a `tf.Yield` op) with an `scf.yield` // op. The input of the `scf.yield` op is a list of results of `tf.Cast` // ops, each of which casts an operand of the current terminator to the // corresponding result type of the `tf.IfRegion` op.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 03 12:35:38 UTC 2022 - 9.4K bytes - Viewed (0) -
src/reflect/all_test.go
kv.SetIterKey(iter) seenk ^= kv.Uint() kv.SetIterValue(iter) seenv ^= kv.Uint() } if seenk != 0b111 { t.Errorf("iteration yielded keys %b, want %b", seenk, 0b111) } if seenv != 0b1110 { t.Errorf("iteration yielded values %b, want %b", seenv, 0b1110) } } // Reset should not allocate. n := int(testing.AllocsPerRun(10, func() { iter.Reset(ValueOf(m2))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K 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) -
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/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) -
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) -
android/guava/src/com/google/common/hash/HashFunction.java
* byte sequences under the covers. * <li><b>hash code:</b> each hash function always yields hash codes of the same fixed bit length * (given by {@link #bits}). For example, {@link Hashing#sha1} produces a 160-bit number, * while {@link Hashing#murmur3_32()} yields only 32 bits. Because a {@code long} value is * clearly insufficient to hold all hash code values, this API represents a hash code as an
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 25 18:22:59 UTC 2021 - 10.9K bytes - Viewed (0) -
guava/src/com/google/common/hash/HashFunction.java
* byte sequences under the covers. * <li><b>hash code:</b> each hash function always yields hash codes of the same fixed bit length * (given by {@link #bits}). For example, {@link Hashing#sha1} produces a 160-bit number, * while {@link Hashing#murmur3_32()} yields only 32 bits. Because a {@code long} value is * clearly insufficient to hold all hash code values, this API represents a hash code as an
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 25 18:22:59 UTC 2021 - 10.9K bytes - Viewed (0)