- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for getRegions (0.52 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
// each region and the use of TensorList returned using YieldOp. if (auto while_region = llvm::dyn_cast<WhileRegionOp>(use.getOwner())) { DCOMMENT("\tTL WhileRegion"); for (auto branch : while_region.getRegions()) add_to_worklist(branch->getArgument(use.getOperandNumber())); continue; } if (auto yield = llvm::dyn_cast<YieldOp>(use.getOwner())) { Operation* parent = yield->getParentOp();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 08 07:28:49 UTC 2024 - 134.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc
branch->front().getTerminator()->eraseOperand(next_index); } // Move region bodies to the new op. for (auto region_index : llvm::seq<int>(0, branches.size())) new_op.getRegion(region_index).takeBody(op.getRegion(region_index)); op.erase(); return success(); } }; } // namespace void CaseRegionOp::getCanonicalizationPatterns(RewritePatternSet& results,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 146.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
op->getLoc(), op->getName(), types, new_operands, op->getAttrs(), op->getPropertiesStorage(), {}, /*numRegions=*/2)); for (int i = 0; i < 2; ++i) new_op->getRegion(i).takeBody(op->getRegion(i)); int new_index = 0; for (int op_index = 0, e = op->getNumResults(); op_index < e; ++op_index) { if (removed_operand[op_index]) continue;
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/tensorflow/ir/tf_ops_n_z.cc
} } void WhileRegionOp::getSuccessorRegions( RegionBranchPoint point, SmallVectorImpl<RegionSuccessor> ®ions) { if (!point.isParent() && point == (*this)->getRegion(0)) { // 'cond' branches to the body or returns. Operation *yield = getCond().front().getTerminator(); if (yield->getOperands().size() == 1 + this->getOperation()->getOperands().size()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 170.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.td
Variadic<AnyTensor>:$outputs, TFL_Control:$control ); let regions = (region SizedRegion<1>:$body); let extraClassDeclaration = [{ Block &GetBody() { return getOperation()->getRegion(0).front(); } YieldOp GetYield(); bool WrapsSinglePerfectlyForwardedOp(); }]; let hasCanonicalizer = 0; let hasVerifier = 1; let hasFolder = 0; let hasCustomAssemblyFormat = 1;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 19:09:08 UTC 2024 - 186K bytes - Viewed (0)