#include "CanonicalNodeConverter.h"
-#include <loco.h>
-#include <loco/IR/CanonicalDialect.h>
-
-namespace exo
-{
-
-// TODO Remove deprecated code
-#if 0
-template <typename CanonicalType>
-bool CanonicalNodeConverter<CanonicalType>::run(loco::Graph *graph)
-{
- auto active_nodes = loco::active_nodes(loco::output_nodes(graph));
- bool changed = false;
-
- for (auto node : active_nodes)
- {
- if (node->dialect() == loco::CanonicalDialect::get())
- {
- auto the_node = dynamic_cast<CanonicalType *>(node);
- if (the_node != nullptr)
- {
- if (convert(the_node))
- changed = true;
- }
- }
- }
-
- return changed;
-}
-
-// template instantiation
-template bool CanonicalNodeConverter<loco::AvgPool2D>::run(loco::Graph *graph);
-template bool CanonicalNodeConverter<loco::ConstGen>::run(loco::Graph *graph);
-// TODO loco::Conv2D
-// TODO loco::DepthwiseConv2D
-// TODO loco::DepthwiseFilterEncode
-template bool CanonicalNodeConverter<loco::EltwiseAdd>::run(loco::Graph *graph);
-template bool CanonicalNodeConverter<loco::EltwiseDiv>::run(loco::Graph *graph);
-template bool CanonicalNodeConverter<loco::EltwiseMul>::run(loco::Graph *graph);
-// TODO loco::EltwiseSqrt
-template bool CanonicalNodeConverter<loco::EltwiseSub>::run(loco::Graph *graph);
-template bool CanonicalNodeConverter<loco::FeatureBiasAdd>::run(loco::Graph *graph);
-// TODO loco::FixedReshape
-template bool CanonicalNodeConverter<loco::MaxPool2D>::run(loco::Graph *graph);
-template bool CanonicalNodeConverter<loco::ReLU>::run(loco::Graph *graph);
-// TODO loco::ReLU6
-// TODO loco::Tanh
-// TODO loco::TensorConcat
-// TODO loco::TensorBiasAdd
-// NOTE TensorBroadcastConverter is skipped here as this directly inherits
-// loco::Pass instead of CanonicalNodeConverter
-// TODO loco::TensorSoftmax
-#endif
-
-} // namespace exo
+// This file is to make sure compilation of "CanonicalNodeConverter.h"