This will make moco::tf to use logo::Pass for Transform class as for first step of migration
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
target_link_libraries(moco_tf_frontend PRIVATE locomotiv)
target_link_libraries(moco_tf_frontend PRIVATE plier_tf)
target_link_libraries(moco_tf_frontend PRIVATE locoex_customop)
+target_link_libraries(moco_tf_frontend PRIVATE logo)
if(NOT ENABLE_TEST)
return()
target_link_libraries(moco_tf_frontend_test stdex)
target_link_libraries(moco_tf_frontend_test plier_tf)
target_link_libraries(moco_tf_frontend_test locoex_customop)
+target_link_libraries(moco_tf_frontend_test logo)
add_test(moco_tf_frontend_test moco_tf_frontend_test)
require("locomotiv")
require("plier-tf")
require("locoex-customop")
+require("logo")
#include <loco.h>
+#include <logo/Pass.h>
+
#include <string>
namespace moco
namespace tf
{
-class Transform
-{
-public:
- virtual ~Transform() = default;
-
-public:
- virtual const char *name(void) const { return nullptr; }
-
-public:
- /**
- * @brief Run the transformation
- *
- * @return false if there was nothing changed
- */
- virtual bool run(loco::Graph *graph) = 0;
-};
+/**
+ * @note Transform will be replaced by logo::Pass
+ */
+
+using Transform = logo::Pass;
std::string transform_name(const Transform *);