- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for ConvertReduceOpToArgMinMax (0.74 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/transforms/tflite_legalize_hlo.cc
void runOnOperation() override; }; class ConvertReduceOpToTFLiteArgmax : public ConvertReduceOpToArgMinMax<TFL::ReduceMaxOp, TFL::ArgMaxOp, TFL::ReduceAnyOp, true> { public: using ConvertReduceOpToArgMinMax::ConvertReduceOpToArgMinMax; bool IsValueInitValue(const DenseElementsAttr& attr) const override { auto element_type = attr.getType().getElementType();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/reduce.h
// Base class for converting mhlo::ReduceOp to TF/TFL ArgMax/ArgMin ops. template <typename Reduce, typename ArgReduce, typename BooleanReduce, bool is_argmax> class ConvertReduceOpToArgMinMax : public OpConversionPattern<mhlo::ReduceOp> { public: using OpConversionPattern::OpConversionPattern; LogicalResult matchAndRewrite( mhlo::ReduceOp reduce_op, OpAdaptor adaptor,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc
return failure(); return success(); } }; class ConvertReduceOpToTfArgmax : public ConvertReduceOpToArgMinMax<TF::MaxOp, TF::ArgMaxOp, TF::AnyOp, true> { public: using ConvertReduceOpToArgMinMax::ConvertReduceOpToArgMinMax; bool IsValueInitValue(const DenseElementsAttr& attr) const override { auto element_type = attr.getType().getElementType();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 154.9K bytes - Viewed (0)