- Sort Score
- Result 10 results
- Languages All
Results 51 - 54 of 54 for getTerminator (0.45 sec)
-
tensorflow/compiler/mlir/lite/flatbuffer_export.cc
mlir::dyn_cast_or_null<mlir::StringAttr>(dict_attr.get("outputs"))) { str.getValue().split(output_names, ',', /*MaxSplit=*/-1, /*KeepEmpty=*/false); auto term = fn.back().getTerminator(); if (output_names.size() != term->getNumOperands()) { fn.emitWarning() << "output names (" << output_names.size() << ") != terminator operands (" << term->getNumOperands()
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 164.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc
} // Returns -1 if we don't find which this result maps to. return -1; }; llvm::SmallVector<Value, 4> returns; for (auto res : func.getBody().back().getTerminator()->getOperands()) { returns.push_back(res); } llvm::DenseMap<int, int> result; for (const auto &result_and_idx : llvm::enumerate(returns)) { if (IsTensorListType(result_and_idx.value().getType(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 70.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
// argument can be easily found. bool unchanged = true; auto& body_block = while_op.getBody().front(); auto& cond_block = while_op.getCond().front(); auto& yield = *body_block.getTerminator(); for (auto ba : body_block.getArguments()) { int arg_no = ba.getArgNumber(); // Skip removing resources that are not read-only variables.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 169.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc
void ReplaceReturnOp(Region& region, PatternRewriter& rewriter) { OpBuilder::InsertionGuard guard(rewriter); for (auto& block : region.getBlocks()) { Operation* terminator = block.getTerminator(); auto return_op = llvm::dyn_cast_or_null<mhlo::ReturnOp>(terminator); if (return_op == nullptr) continue; rewriter.setInsertionPoint(return_op); rewriter.replaceOpWithNewOp<TF::YieldOp>(return_op,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 154.9K bytes - Viewed (0)