Skip to content

Commit

Permalink
[ Tizen7.0 ] Include neuralnet.h in -dev header
Browse files Browse the repository at this point in the history
- Update the code to include `neuralnet.h` in -dev header.
- Some applications, e.g., ReinforcementLearning uses `forwarding` and
`backwarding` directly. To support it, this commit adds the header into
dev package.

**Self-evaluation:**
1. Build test: [X]Passed [ ]Failed [ ]Skipped
2. Run test:   [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: Eunju Yang <[email protected]>
  • Loading branch information
EunjuYang authored and jijoongmoon committed Sep 5, 2024
1 parent 656a231 commit 77e56f1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions debian/nntrainer-dev.install
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,5 @@
/usr/include/nntrainer/util_func.h
/usr/include/nntrainer/fp16.h
/usr/include/nntrainer/util_simd.h
# model
/usr/include/nntrainer/neuralnet.h
4 changes: 3 additions & 1 deletion nntrainer/models/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ model_sources = [
'dynamic_training_optimization.cpp',
]

model_headers = []
model_headers = [
'neuralnet.h'
]

foreach s : model_sources
nntrainer_sources += meson.current_source_dir() / s
Expand Down
2 changes: 2 additions & 0 deletions packaging/nntrainer.spec
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,8 @@ cp -r result %{buildroot}%{_datadir}/nntrainer/unittest/
%endif
%endif
%{_includedir}/nntrainer/acti_func.h
# model headers
%{_includedir}/nntrainer/neuralnet.h


%files devel-static
Expand Down

0 comments on commit 77e56f1

Please sign in to comment.