- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getOperands (0.09 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/decompose_optionals.cc
} } if (!newType) { return failure(); } rewriter.replaceOpWithNewOp<UnrealizedConversionCastOp>(op, newType, op->getOperands()); return success(); } }; class HandleCall : public OpInterfaceRewritePattern<CallOpInterface> { // Optional-agnostic pattern that propagates types across the program.
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/tf2xla/internal/passes/xla_broadcast.cc
if (num_cores_per_replica != 1) return success(); llvm::SetVector<Value> bcasts; cluster->walk([&](Operation* op) { if (op == cluster) return WalkResult::advance(); for (auto operand : op->getOperands()) { Operation* scope = operand.getParentBlock()->getParentOp(); if (scope->isProperAncestor(replicate)) { bcasts.insert(operand); } } return WalkResult::advance(); });
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 13 18:52:07 UTC 2024 - 13.9K bytes - Viewed (0)