Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbafeac7

Browse files
authored
Merge pull request#211 from uTensor/f/arduino
2 parentsceba941 +7ac282c commitbafeac7

File tree

115 files changed

+875
-4933
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+875
-4933
lines changed

‎CMakeLists.txt‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ if(EXISTS "${LOC_PATH}")
2323
message(FATAL_ERROR"You cannot build in a source directory (or any directory with a CMakeLists.txt file). Please make a build subdirectory. Feel free to remove CMakeCache.txt and CMakeFiles.")
2424
endif()
2525

26+
if(ARM_PROJECT)
27+
include_directories(extern/CMSIS_5)
28+
endif()
29+
30+
include_directories(src)
2631
add_subdirectory(src)
2732
# Testing only available if this is the main app # Emergency override MODERN_CMAKE_BUILD_TESTING provided as well i
2833
option(PACKAGE_TESTS"Build the tests"OFF)

‎TESTS/core/context/test_core_context.cpp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include"test_helper.h"
22
#include"src/uTensor/loaders/tensorIdxImporter.hpp"
3-
#include"tensor.hpp"
4-
#include"context.hpp"
3+
#include"uTensor/core/tensor.hpp"
4+
#include"uTensor/core/context.hpp"
55
#include"MatrixOps.hpp"
66
#include"MathOps.hpp"
77

‎TESTS/core/test_context.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include"gtest/gtest.h"
22
#include"arenaAllocator.hpp"
3-
#include"context.hpp"
3+
#include"uTensor/core/context.hpp"
44
#include<iostream>
55
using std::cout;
66
using std::endl;

‎TESTS/core/test_types.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#include"gtest/gtest.h"
2-
#include"types.hpp"
2+
#include"uTensor/core/types.hpp"
33

44

55
TEST(Shapes, test_1) {

‎TESTS/operators/test_argmax.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#include"RomTensor.hpp"
77
#include"arenaAllocator.hpp"
88
#include"constants_argmax.hpp"
9-
#include"context.hpp"
9+
#include"uTensor/core/context.hpp"
1010
#include"gtest/gtest.h"
1111

1212
usingnamespaceuTensor;

‎TESTS/operators/test_argmin.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#include"RomTensor.hpp"
77
#include"arenaAllocator.hpp"
88
#include"constants_argmin.hpp"
9-
#include"context.hpp"
9+
#include"uTensor/core/context.hpp"
1010
#include"gtest/gtest.h"
1111

1212
usingnamespaceuTensor;

‎TESTS/operators/test_arithmetic.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#include"RamTensor.hpp"
77
#include"RomTensor.hpp"
88
#include"arenaAllocator.hpp"
9-
#include"context.hpp"
9+
#include"uTensor/core/context.hpp"
1010
#include"gtest/gtest.h"
1111
using std::cout;
1212
using std::endl;

‎TESTS/operators/test_avgpool.cpp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
#include<iostream>
44

55
#include"BufferTensor.hpp"
6-
#include"Convolution.hpp"
6+
#include"uTensor/ops/Convolution.hpp"
77
#include"RamTensor.hpp"
88
#include"RomTensor.hpp"
99
#include"arenaAllocator.hpp"
1010
#include"constants_avgpool.hpp"
11-
#include"context.hpp"
11+
#include"uTensor/core/context.hpp"
1212
#include"gtest/gtest.h"
1313
using std::cout;
1414
using std::endl;

‎TESTS/operators/test_dequantize.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#include"RamTensor.hpp"
77
#include"RomTensor.hpp"
88
#include"arenaAllocator.hpp"
9-
#include"context.hpp"
9+
#include"uTensor/core/context.hpp"
1010
#include"gtest/gtest.h"
1111
#include"quantizationPrimitives.hpp"
1212
using std::cout;

‎TESTS/operators/test_dws_convolution.cpp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
#include<iostream>
44

55
#include"BufferTensor.hpp"
6-
#include"Convolution.hpp"
6+
#include"uTensor/ops/Convolution.hpp"
77
#include"RamTensor.hpp"
88
#include"RomTensor.hpp"
99
#include"arenaAllocator.hpp"
1010
#include"constants_dws_convolution.hpp"
11-
#include"context.hpp"
11+
#include"uTensor/core/context.hpp"
1212
#include"gtest/gtest.h"
1313
using std::cout;
1414
using std::endl;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp