Class FuseNCHW4Int8Preprocess

Inheritance Relationships

Base Type

  • public Pass

Class Documentation

class mgb::gopt::FuseNCHW4Int8Preprocess : public Pass

fuse preprocess, like pad channel, quint8 to qint8

Public Types

using DepType = cg::OperatorNodeProp::DepType
using ReaderType = ThinHashMap<OperatorNodeBase*, SmallVector<std::pair<OperatorNodeBase*, DepType>>>

Public Functions

const char *name() const override
void apply(OptState &opt) const override

Public Static Functions

std::unique_ptr<FuseNCHW4Int8Preprocess> make()