My Project
Public Types | Static Public Member Functions | List of all members
mlir::quantizer::ExpandingMinMaxReducer Struct Reference

#include <Rules.h>

Public Types

using ValueTy = std::pair< double, double >
 

Static Public Member Functions

static ValueTy initialValue ()
 
static ValueTy reduce (ValueTy lhs, ValueTy rhs)
 

Detailed Description

A binary reducer that expands a min/max range represented by a pair of doubles such that it represents the largest of all inputs. The initial value is (Inf, -Inf).

Member Typedef Documentation

◆ ValueTy

using mlir::quantizer::ExpandingMinMaxReducer::ValueTy = std::pair<double, double>

Member Function Documentation

◆ initialValue()

static ValueTy mlir::quantizer::ExpandingMinMaxReducer::initialValue ( )
inlinestatic

◆ reduce()

static ValueTy mlir::quantizer::ExpandingMinMaxReducer::reduce ( ValueTy  lhs,
ValueTy  rhs 
)
inlinestatic

The documentation for this struct was generated from the following file: