Replace serialization/ and verif/ with MLPlatform's serialization_lib submodule

- Remove Usage and Format
- Run black on verif/*.py scripts

Signed-off-by: Kevin Cheng <kevin.cheng@arm.com>
Change-Id: Ie81515891eb0039540f614894f4b6b0e0e78ba74
diff --git a/reference_model/CMakeLists.txt b/reference_model/CMakeLists.txt
index 0ba8afb..153a5bd 100644
--- a/reference_model/CMakeLists.txt
+++ b/reference_model/CMakeLists.txt
@@ -26,8 +26,8 @@
   set(CMAKE_CXX_FLAGS "-Wall -Wno-ignored-attributes")
 endif()
 
-set(FLATBUFFERS_DIR "../thirdparty/flatbuffers/")
-set(SERIALIZATION_DIR "../serialization")
+set(FLATBUFFERS_DIR "../thirdparty/serialization_lib/third_party/flatbuffers/")
+set(SERIALIZATION_DIR "../thirdparty/serialization_lib/")
 
 set (CXX_SOURCE
      src/main.cpp
@@ -64,13 +64,13 @@
     ${FLATBUFFERS_DIR}/include
     ../thirdparty/eigen/
     ../thirdparty/eigen/unsupported/
-    ${SERIALIZATION_DIR}
+    ${SERIALIZATION_DIR}/include
 )
 
 target_link_libraries(tosa_reference_model
   PRIVATE
+    tosa_serialization_lib
     flatbuffers
-    tosa_serialization
 )
 
 install (TARGETS tosa_reference_model DESTINATION bin)