Skip to content

Commit

Permalink
[IE] Blob dumper from IR
Browse files Browse the repository at this point in the history
  • Loading branch information
eshoguli committed Mar 1, 2021
1 parent 7721533 commit 9b52c90
Show file tree
Hide file tree
Showing 6 changed files with 836 additions and 0 deletions.
24 changes: 24 additions & 0 deletions inference-engine/samples/blob_dumper/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Copyright (C) 2018-2020 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

file (GLOB SRC ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)

file (GLOB HDR ${CMAKE_CURRENT_SOURCE_DIR}/*.hpp)

include_directories($<TARGET_PROPERTY:inference_engine_plugin_api,INTERFACE_INCLUDE_DIRECTORIES>)

set(TARGET_NAME "blob_dumper")

ie_add_sample(NAME blob_dumper
SOURCES ${SRC}
HEADERS ${HDR}
DEPENDENCIES format_reader inference_engine inference_engine_legacy
OPENCV_DEPENDENCIES imgcodecs)

if ( CMAKE_COMPILER_IS_GNUCC )
target_compile_options(blob_dumper PRIVATE "-Wno-strict-aliasing")
endif()

include_directories(SYSTEM ${IE_MAIN_SOURCE_DIR}/src/legacy_api/include/legacy)
target_include_directories(${TARGET_NAME} PUBLIC ${PUBLIC_HEADERS_DIR} $<TARGET_PROPERTY:inference_engine_plugin_api,INTERFACE_INCLUDE_DIRECTORIES>)
1 change: 1 addition & 0 deletions inference-engine/samples/blob_dumper/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# BlobDumper C++ Tool
Loading

0 comments on commit 9b52c90

Please sign in to comment.