Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
9890df6
First
Nov 5, 2025
3f854c6
New changes
Nov 15, 2025
883a9ef
Clangs
Nov 17, 2025
4b1db15
Err
Nov 17, 2025
bb4d7a3
Fixes
Nov 17, 2025
d844ff9
Fix
Nov 17, 2025
30b2a5e
Tests
Nov 17, 2025
0ad75bd
Fix
Nov 17, 2025
0739ca5
Merge...
Nov 17, 2025
4f1d1b0
Graph changes
Nov 17, 2025
2608208
Graph changes
Nov 17, 2025
41f381f
Clang tidy
Nov 18, 2025
63f0d88
any of
Nov 18, 2025
5e7b39c
any of
Nov 18, 2025
ff306cc
Additional changes
Nov 18, 2025
24f81c2
Additional changes
Nov 18, 2025
0f3ac42
Updates are coming
Nov 26, 2025
bc63d60
Help me commit
Dec 3, 2025
907e9f9
Refactor
Dec 8, 2025
3079818
Err
Dec 8, 2025
861720d
Clang
Dec 8, 2025
083e8e0
Merge
Dec 8, 2025
1b36095
Changes
Dec 8, 2025
7d06531
ACC CHECK
Dec 8, 2025
18d71a3
Changing
Dec 8, 2025
5064466
Fixes
Dec 18, 2025
78565d5
Update test_graph.cpp
NeiroYT Dec 18, 2025
a240c9e
Merge commit
Dec 18, 2025
50dfa15
Merge branch 'neiroyt/stable_branch' of https://github.com/embedded-d…
Dec 18, 2025
89ec67e
Typo
Dec 18, 2025
967e681
Clang
Dec 18, 2025
9fbc4e5
Update test_graph.cpp
NeiroYT Dec 18, 2025
b5b9aaa
Update graph.hpp
NeiroYT Dec 18, 2025
6991a82
Update test_graph.cpp
NeiroYT Dec 18, 2025
9ed024b
Update onnx_subs.cpp
NeiroYT Dec 18, 2025
9cd9696
Update onnx_subs.cpp
NeiroYT Dec 18, 2025
11ecb7c
Update graph.hpp
NeiroYT Dec 18, 2025
84e5187
Update test_graph.cpp
NeiroYT Dec 18, 2025
6ffe7b3
Update onnx_subs.cpp
NeiroYT Dec 18, 2025
e1d014c
Update graph.hpp
NeiroYT Dec 18, 2025
05cc369
Update test_graph.cpp
NeiroYT Dec 18, 2025
e80739b
PR Fix
Dec 23, 2025
8d47d37
PR Fix
Dec 23, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 13 additions & 19 deletions app/Accuracy/accuracy_check.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,29 +47,23 @@ int main() {
}
Tensor input = t;
Tensor output = make_tensor(vec, sh1);
auto a1 = std::make_unique<InputLayer>(kNchw, kNchw, 1, 2);
Layer* a1_ptr = a1.get();
auto a1 = std::make_shared<InputLayer>(kNchw, kNchw, 1, 2);
std::vector<float> kernelvec = {1, 1, 1, 1, 1, 1, 1, 1, 1};
Shape sh2({3, 3});
Tensor kernel = make_tensor(kernelvec, sh2);
auto a2 = std::make_unique<ConvolutionalLayer>(1, 0, 0, kernel);
Layer* a2_ptr = a2.get();
auto a2 = std::make_shared<ConvolutionalLayer>(1, 0, 0, kernel);
Shape poolshape = {2, 2};
auto a3 = std::make_unique<EWLayer>("linear", 2.0F, 3.0F);
Layer* a3_ptr = a3.get();
auto a4 = std::make_unique<PoolingLayer>(poolshape, "average");
Layer* a4_ptr = a4.get();
auto a5 = std::make_unique<OutputLayer>();
Layer* a5_ptr = a5.get();
auto a6 = std::make_unique<FCLayer>();
Layer* a6_ptr = a6.get();
graph.setInput(a1_ptr, input);
graph.makeConnection(a1_ptr, a2_ptr);
graph.makeConnection(a2_ptr, a3_ptr);
graph.makeConnection(a3_ptr, a4_ptr);
graph.makeConnection(a4_ptr, a5_ptr);
graph.makeConnection(a5_ptr, a6_ptr);
graph.setOutput(a5_ptr, output);
auto a3 = std::make_shared<EWLayer>("linear", 2.0F, 3.0F);
auto a4 = std::make_shared<PoolingLayer>(poolshape, "average");
auto a5 = std::make_shared<OutputLayer>();
auto a6 = std::make_shared<FCLayer>();
graph.setInput(a1, input);
graph.makeConnection(a1, a2);
graph.makeConnection(a2, a3);
graph.makeConnection(a3, a4);
graph.makeConnection(a4, a5);
graph.makeConnection(a5, a6);
graph.setOutput(a5, output);
graph.inference(options);
std::vector<float> tmp = *output.as<float>();
std::vector<float> tmp_output = softmax<float>(*output.as<float>());
Expand Down
5 changes: 5 additions & 0 deletions app/Graph/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ target_link_libraries(Graph_Build BuildGraph)
add_executable(ACC acc_check.cpp)
target_link_libraries(ACC BuildGraph)

add_executable(onnx_subgraphs onnx_subgraphs.cpp)
target_link_libraries(onnx_subgraphs BuildGraph)
target_link_libraries(onnx_subgraphs OpenMP::OpenMP_CXX)
target_link_libraries(onnx_subgraphs graphT_lib)

file(DOWNLOAD
"https://raw.githubusercontent.com/DeepTrackAI/MNIST_dataset/main/mnist/test/1_000008.png"
"${CMAKE_SOURCE_DIR}/docs/input/28/test1.png"
Expand Down
Loading
Loading