forked from Samsung/ONE
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[onert] Update version eigen (Samsung#3086)
- Update version eigen used for cker computation library (eigen for 2.3.0-rc0) - TFLite 1.13.1 library uses eigen for 1.13.1 - Update copyright eigen_sptial_convolutions-inl.h Signed-off-by: Hyeongseok Oh <[email protected]>
- Loading branch information
Showing
12 changed files
with
117 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
infra/cmake/packages/TensorFlowEigenSource-2.3.0-rc0Config.cmake
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
function(_TensorFlowEigenSource_import) | ||
if(NOT DOWNLOAD_EIGEN) | ||
set(TensorFlowEigenSource_FOUND FALSE PARENT_SCOPE) | ||
return() | ||
endif(NOT DOWNLOAD_EIGEN) | ||
|
||
nnas_include(ExternalSourceTools) | ||
nnas_include(OptionTools) | ||
|
||
# NOTE TensorFlow 2.3.0-rc0 uses the following URL | ||
envoption(EXTERNAL_DOWNLOAD_SERVER "https://gitlab.com") | ||
envoption(TENSORFLOW_2_3_0_EIGEN_URL ${EXTERNAL_DOWNLOAD_SERVER}/libeigen/eigen/-/archive/386d809bde475c65b7940f290efe80e6a05878c4/eigen-386d809bde475c65b7940f290efe80e6a05878c4.tar.gz) | ||
|
||
ExternalSource_Download(EIGEN | ||
DIRNAME TENSORFLOW-2.3.0-EIGEN | ||
URL ${TENSORFLOW_2_3_0_EIGEN_URL} | ||
) | ||
|
||
set(TensorFlowEigenSource_DIR ${EIGEN_SOURCE_DIR} PARENT_SCOPE) | ||
set(TensorFlowEigenSource_FOUND TRUE PARENT_SCOPE) | ||
endfunction(_TensorFlowEigenSource_import) | ||
|
||
_TensorFlowEigenSource_import() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
19 changes: 19 additions & 0 deletions
19
infra/nnfw/cmake/packages/TensorFlowEigen-1.13.1/TensorFlowEigenConfig.cmake
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
function(_Eigen_import) | ||
nnas_find_package(EigenSource QUIET) | ||
|
||
if(NOT EigenSource_FOUND) | ||
set(TensorFlowEigen_1_13_1_FOUND FALSE PARENT_SCOPE) | ||
return() | ||
endif(NOT EigenSource_FOUND) | ||
|
||
if(NOT TARGET eigen-tf-1.13.1) | ||
add_library(eigen-tf-1.13.1 INTERFACE) | ||
target_include_directories(eigen-tf-1.13.1 SYSTEM INTERFACE "${EigenSource_DIR}") | ||
# Add EIGEN_MPL2_ONLY to remove license issue posibility | ||
target_compile_definitions(eigen-tf-1.13.1 INTERFACE EIGEN_MPL2_ONLY) | ||
endif(NOT TARGET eigen-tf-1.13.1) | ||
|
||
set(TensorFlowEigen_1_13_1_FOUND TRUE PARENT_SCOPE) | ||
endfunction(_Eigen_import) | ||
|
||
_Eigen_import() |
9 changes: 9 additions & 0 deletions
9
infra/nnfw/cmake/packages/TensorFlowEigen-1.13.1/TensorFlowEigenConfigVersion.cmake
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
set(PACKAGE_VERSION "1.13.1") | ||
set(PACKAGE_VERSION_EXACT FALSE) | ||
set(PACKAGE_VERSION_COMPATIBLE FALSE) | ||
set(PACKAGE_VERSION_UNSUITABLE TRUE) | ||
|
||
if(PACKAGE_FIND_VERSION VERSION_EQUAL PACKAGE_VERSION) | ||
set(PACKAGE_VERSION_EXACT TRUE) | ||
set(PACKAGE_VERSION_UNSUITABLE FALSE) | ||
endif(PACKAGE_FIND_VERSION VERSION_EQUAL PACKAGE_VERSION) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.