- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 297 for terminator (0.14 sec)
-
tensorflow/compiler/mlir/tensorflow/ir/tf_device.cc
// a ReturnOp terminator. ReplicateOp::ensureTerminator(body, parser.getBuilder(), result.location); if (!llvm::hasSingleElement(body)) return parser.emitError(loc) << "expects a single block region"; Operation& terminator = body.front().back(); if (!isa<ReturnOp>(terminator)) return parser.emitError(loc) << "expects a tf_device.return terminator";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 33.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_communication.cc
} // Updates control flow op terminator with an extra element `token`. void RewriteControlFlowTerminator(OpBuilder& builder, Operation* terminator, Value token, bool flatten_tuple) { assert(flatten_tuple || terminator->getNumOperands() == 1); assert(flatten_tuple || terminator->getBlock()->getNumArguments() == 1); // `mhlo.while` cond terminator does not need to be rewritten as it always
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 40.5K bytes - Viewed (0) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-death-test-internal.h
// statement from generating an 'unreachable code' warning in case // statement unconditionally returns or throws. The Message constructor at // the end allows the syntax of streaming additional messages into the // macro, for compilational compatibility with EXPECT_DEATH/ASSERT_DEATH. # define GTEST_UNSUPPORTED_DEATH_TEST_(statement, regex, terminator) \ GTEST_AMBIGUOUS_ELSE_BLOCKER_ \
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 13.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/region_control_flow_to_functional.cc
first_block.args_end()); // Replace the existing terminator with a return. terminator = first_block.getTerminator(); builder.setInsertionPoint(terminator); builder.create<func::ReturnOp>(terminator->getLoc(), return_values); terminator->erase(); outlined_func.setPrivate(); // Uniquify the function name, and insert into module.
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/tf_saved_model_freeze_variables.cc
op->erase(); } } // Updates terminator op arguments of 'func' after removing arguments // specified in 'arguments_to_erase'. template <typename T> void UpdateTerminatorArguments(T& func, const ArrayRef<unsigned> arguments_to_erase, llvm::BitVector& erase_indices) { auto terminator = func.front().getTerminator();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 09:56:53 UTC 2024 - 19.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tf_tfl_translate.cc
mlir::Operation *terminator = nullptr; if (subgraph->name()) { if (auto fn = module.lookupSymbol<FuncOp>(subgraph->name()->str())) terminator = fn.back().getTerminator(); } i = 0; for (auto output : *subgraph->outputs()) { print_buffer(*subgraph, i, output, [&](int i) { return terminator ? terminator->getOperand(i).getLoc() : unknown_loc; }); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:01:23 UTC 2024 - 14K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/post_quantize.cc
} // Edit the return ops and remove the dequantize ops in place. auto* terminator = bb.getTerminator(); int num_return_operands = terminator->getNumOperands(); llvm::SmallVector<Type, 4> output_types; output_types.reserve(num_return_operands); for (int i = 0; i != num_return_operands; ++i) { auto returned_value = terminator->getOperand(i); Operation* returned_op = returned_value.getDefiningOp();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 17.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/extract_head_tail_outside_compilation.cc
Region* cluster_region = &cluster.getBody(); llvm::SmallSetVector<Operation*, 4> tail_outside_compiled_ops_set; Operation* terminator = cluster.GetBody().getTerminator(); llvm::SmallSetVector<Value, 4> cluster_results_set; cluster_results_set.insert(terminator->getOperands().begin(), terminator->getOperands().end()); auto cluster_ops = llvm::reverse(cluster.GetBody().without_terminator());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 20.6K bytes - Viewed (0) -
src/net/cgo_unix.go
// // Source Encoding Maximum length of single name entry // Unicast DNS ASCII or <=253 + a NUL terminator // Unicode in RFC 5892 252 * total number of labels + delimiters + a NUL terminator // Multicast DNS UTF-8 in RFC 5198 or <=253 + a NUL terminator // the same as unicast DNS ASCII <=253 + a NUL terminator // Local database various depends on implementation const ( nameinfoLen = 64 maxNameinfoLen = 4096
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:23:45 UTC 2024 - 11.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_sharding_identification_pass.cc
Block& function_block = func.front(); Operation* terminator = function_block.getTerminator(); sharding_for_rets.reserve(terminator->getNumOperands()); // Iterate through results of `cluster_func`. For output ops, look for // TPUPartitionedOutput ops. // // Iterate through operands of the terminator. If the preceding op is
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 02:01:13 UTC 2024 - 28.9K bytes - Viewed (0)