- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ReductionOp (0.14 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/util.h
// returns the result. template <typename ReductionOp> LogicalResult MatchBinaryReduceFunction(mlir::Region& function) { Block& body = function.front(); if (body.getNumArguments() != 2) return failure(); mhlo::ReturnOp return_op = dyn_cast<mhlo::ReturnOp>(body.back()); if (!return_op) return failure(); if (return_op.getNumOperands() != 1) return failure(); ReductionOp reduce_op = dyn_cast_or_null<ReductionOp>(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Nov 08 11:35:25 UTC 2023 - 6.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc
hlo::getBroadcastDimensionsAttr(&rewriter, scaled, op.getStart())); return success(); } }; /// Converts a generic OpTy tensorflow op to a mhlo.reduce op over /// ReductionOp. /// `is_accumulation` controls whether it uses higher precision for the actual /// reduction. This is set to false for ops like max where there is no precision /// concerns. //
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 291.8K bytes - Viewed (0)