operator_sets_reduction.h#

namespace ONNX_LIGHT_NAMESPACE
namespace onnx_op
namespace reduction#

Typedefs

using LightOpSchema = ONNX_LIGHT_NAMESPACE::onnx_op::LightOpSchema#

Functions

std::vector<LightOpSchema> GetAllOnnxOpReductionSchemasWithHistory(bool init_doc = true)#

Returns the versioned schema history for all supported reduction operators (ReduceSum, ReduceMean, ReduceMax, ReduceMin, ReduceProd, ReduceSumSquare, ReduceLogSum, ReduceLogSumExp, ReduceL1, ReduceL2, ArgMax, ArgMin).

Returns:

Vector of LightOpSchema objects for the reduction domain, ordered by operator name and descending opset version.