#include <FMEqualizer.h>
Definition at line 27 of file FMEqualizer.h.
◆ equalize()
Definition at line 63 of file FMEqualizer.cpp.
64{
66
67
69
70
72 issp.run(g);
73
75
76
77 phase.emplace_back(std::make_unique<logo::RemoveDeadNodeWithQueryPass>());
78 phase.emplace_back(std::make_unique<luci::CircleShapeInferencePass>());
79 phase.emplace_back(std::make_unique<luci::CircleTypeInferencePass>());
80
81
82 phase.emplace_back(std::make_unique<fme_apply::FusePreScalePass>());
83 phase.emplace_back(std::make_unique<fme_apply::FusePostScalePass>());
84
87 phase_runner.attach(&prog);
88 phase_runner.run(phase);
89
90
91 check_no_scale(g);
92}
#define THROW_UNLESS(COND, MSG)
Class to insert scale/shift virtual Ops to loco::Graph.
void check_patterns_valid(loco::Graph *g, const std::vector< EqualizePattern > &patterns)
std::vector< std::unique_ptr< Pass > > Phase
References fme_apply::check_patterns_valid(), fme_apply::InsertScaleShift::run(), logo::Saturate, and THROW_UNLESS.
Referenced by entry().
The documentation for this class was generated from the following files: