- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 118 for GetOperation (0.49 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/merge_control_flow.cc
const TF::SideEffectAnalysis::Info& side_effect_analysis) { // IfRegion ops must be in the same block. if (second_if.getOperation()->getBlock() != first_if.getOperation()->getBlock()) { return false; } assert(first_if.getOperation()->isBeforeInBlock(second_if.getOperation())); llvm::SmallSetVector<Operation*, 4> destination_ops = GetAllOpsFromIf(first_if);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 17 07:31:01 UTC 2023 - 25.9K bytes - Viewed (0) -
plugin/pkg/admission/noderestriction/admission.go
} return nil default: return admission.NewForbidden(a, fmt.Errorf("unexpected operation %s", a.GetOperation())) } } func (p *Plugin) admitPVCStatus(nodeName string, a admission.Attributes) error { switch a.GetOperation() { case admission.Update: oldPVC, ok := a.GetOldObject().(*api.PersistentVolumeClaim) if !ok {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:22:55 UTC 2024 - 23.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc
rewriter.setInsertionPointToEnd(&func.getBody().front()); rewriter.create<func::ReturnOp>( loc, executor_graph.getOperation()->getResults()); rewriter.replaceOp(graph_func.getOperation(), func.getOperation()->getResults()); return success(); } }; class ConvertReturnOp : public OpConversionPattern<tfg::ReturnOp> { public:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 21.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_program_key.cc
if (failed(MoveStandalonePreprocessingOp(&builder, getOperation(), op))) return signalPassFailure(); } RewritePreprocessInputs(&builder, getOperation(), op); } // Handle ops with mini_batch_in_csr attribute. preprocess_ops.clear(); getOperation().walk([&](Operation* op) { if (op->hasAttr(kMiniBatchCsrAttr)) { preprocess_ops.push_back(op); } });
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 17.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/decompose_optionals.cc
mlir::SymbolRefAttr sym = callable.dyn_cast<mlir::SymbolRefAttr>(); auto symbol = mlir::SymbolTable::lookupNearestSymbolFrom(call.getOperation(), sym); if (!symbol) return failure(); auto f = llvm::dyn_cast<mlir::func::FuncOp>(symbol); if (call.getOperation()->getNumOperands() != f.getBody().front().getNumArguments()) { return failure(); // RemoteCall et al }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:18:05 UTC 2024 - 9.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/passes/decompose.cc
Operation* inlined_point = call_op.getOperation(); Operation* after_inlined_point = &*std::next(Block::iterator(call_op.getOperation())); // Use the inliner to replace all the uses of the call_op by its // composition. if (failed(inlineCall(inliner, cast<CallOpInterface>(call_op.getOperation()),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc
<< ")"; } } return success(); } void GraphOp::print(OpAsmPrinter &p) { p << ' '; p.printRegion(getOperation()->getRegion(0)); p.printOptionalAttrDict(getOperation()->getAttrs()); } ParseResult GraphOp::parse(OpAsmParser &parser, OperationState &result) { llvm::SMLoc loc = parser.getCurrentLocation(); // Parse the body region.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 42.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/layout_optimization.cc
operand->get().getType() == ShuffleRankedTensorType(ranked_tranpose_type, permutation)) { TransposeOp transpose = tranpose_op; transpose.getOperation()->moveBefore(op); transpose.setOperand(0, operand->get()); transpose.setOperand(1, permutation_op); transpose_ops->erase(it); return transpose; } } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 19.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/post_quantize.cc
LogicalResult matchAndRewrite(OpTy op, PatternRewriter& rewriter) const override { if (op.getOperation()->template hasTrait<OpTrait::IsTerminator>()) { return failure(); } for (auto result : op.getOperation()->getOpResults()) { if (!result.use_empty()) { return failure(); } }
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/tensorflow/transforms/functional_control_flow_to_cfg.cc
/*Truncate=*/builder->getBoolAttr(false)); } operands.push_back(val); } return builder->create<func::CallOp>(loc, fn, operands).getOperation(); } // Prepares for jump to the given block by introducing necessary tensor_cast // operations and returning Values of types required by the block. //
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jan 13 11:42:59 UTC 2023 - 12.2K bytes - Viewed (0)