- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for RewriteOp (0.14 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/fold_broadcast.cc
return true; }; return RewriteOp(op, rewriter, get_broadcasted_shape); } template <typename Op> LogicalResult ConvertResultsBroadcastableShapeOp::RewriteEqOp( Operation* op, PatternRewriter& rewriter) const { auto eq_op = llvm::dyn_cast_or_null<Op>(op); if (eq_op && eq_op.getIncompatibleShapeError()) return RewriteOp(op, rewriter, OpTrait::util::getBroadcastedShape);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter.h
#include "tensorflow/core/framework/op_kernel.h" namespace mlir { namespace mhlo { class Tf2XlaRewriterTestPeer; class Tf2XlaRewriter { public: static mlir::LogicalResult RewriteOp(mlir::Operation* op, mlir::PatternRewriter& rewriter, const std::string& device_type); private: friend class Tf2XlaRewriterTestPeer;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:16:07 UTC 2024 - 5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_with_tf2xla.cc
(prefer_tf2xla_ && IsOpAllowedTf2xlaPreferred(abstractOp->getTypeID())))) { return failure(); } return Tf2XlaRewriter::RewriteOp(op, rewriter, device_type_); } private: std::string device_type_; bool prefer_tf2xla_; bool use_tf2xla_hlo_importer_; }; bool ShouldRefineTypeTo(Type original_ty, Type updated_ty) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 21:49:50 UTC 2024 - 9.7K bytes - Viewed (0)