logo::Phase phase;
{
- // TODO add each converter that converts canonical to TFLDialect
- // For example, something like the following:
- // phase.emplace_back(stdex::make_unique<ReluConverter>());
- // phase.emplace_back(stdex::make_unique<MaxPool2DConverter>());
+ // Add converters for canonical nodes. Note: Not all loco canonical nodes are listed.
+ // TODO loco::AvgPool2D
+ // TODO loco::ConstGen
+ // TODO loco::Conv2D
+ // TODO loco::DepthwiseConv2D
+ // TODO loco::DepthwiseFilterEncode
+ // TODO loco::EltwiseAdd
+ // TODO loco::EltwiseDiv
+ // TODO loco::EltwiseMul
+ // TODO loco::EltwiseSqrt
+ // TODO loco::EltwiseSub
+ // TODO loco::FeatureBiasAdd
+ // TODO loco::FixedReshape
+ // TODO loco::MaxPool2D
+ // TODO loco::ReLU
+ // TODO loco::ReLU6
+ // TODO loco::Tanh
+ // TODO loco::TensorConcat
+ // TODO loco::TensorBiasAdd
+ // TODO loco::TensorSoftmax
+
+ // TODO Add type inference, shape inference, and optimization passes
}
logo::PhaseRunner<logo::PhaseStrategy::Saturate> phase_runner{graph};