- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 658 for terminator (0.25 sec)
-
tensorflow/compiler/mlir/tensorflow/tests/tf_device_ops_invalid.mlir
^bb: tf_device.return } func.return } // ----- // Check that a replicate with a bad terminator is invalid. func.func @parser_replicate_terminator() { tf_device.replicate() {n = 2 : i32} { // expected-error@-1 {{custom op 'tf_device.replicate' expects a tf_device.return terminator}} func.return } func.return } // -----
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Aug 14 15:35:49 UTC 2023 - 9.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/parallel_execute_to_islands.cc
Block& execute_block = parallel_execute_op.GetRegionBlockWithIndex(i); // Replace terminator with tf_executor.YieldOp. Operation* terminator = execute_block.getTerminator(); builder->setInsertionPoint(terminator); auto yield = builder->create<tf_executor::YieldOp>( terminator->getLoc(), terminator->getOperands()); terminator->erase(); // Create new island for each region.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 19 19:47:16 UTC 2023 - 11.1K bytes - Viewed (0) -
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/replicate_to_island.cc
Operation& terminator = replicate_op.GetBody().back(); llvm::SmallVector<Type, 8> output_types(terminator.getOperandTypes()); auto control_type = tf_executor::ControlType::get(island_op.getContext()); llvm::SmallVector<Value, 8> replica_inputs(island_op.getControlInputs()); // Replace replicate terminator with YieldOp. builder.setInsertionPoint(&terminator);
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/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) -
platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/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: Mon Nov 27 17:53:42 UTC 2023 - 13.1K bytes - Viewed (0)