Commit b0da3a9
committed
refactoring: cutting out the pure C interface to allow direct testing of the policy input/output behavior from the file, without fully loading it into memory first
1 parent eb31939 commit b0da3a9
6 files changed
Lines changed: 310 additions & 87 deletions
File tree
- .vscode
- src
- lib/rl_tools
- modules/mc_raptor
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
9 | 19 | | |
10 | 20 | | |
11 | 21 | | |
| |||
- include/rl_tools/persist/backends/tar/operations_cpu.h+2-1
- include/rl_tools/persist/backends/tar/operations_generic.h+31-30
- include/rl_tools/persist/backends/tar/operations_posix.h+63
- include/rl_tools/persist/backends/tar/tar.h+8-3
- src/nn_models/port_checkpoint/raptor/.gitignore+1
- src/nn_models/port_checkpoint/raptor/CMakeLists.txt+2
- src/nn_models/port_checkpoint/raptor/check_policy.cpp+2-2
- src/nn_models/port_checkpoint/raptor/check_policy_posix.cpp+81
- src/nn_models/port_checkpoint/raptor/main.cpp+16-12
- tests/src/persist/backends/tar/CMakeLists.txt+4
- tests/src/persist/backends/tar/tar.cpp+11-8
- tests/src/persist/backends/tar/test_tar_posix.cpp+112
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
14 | 20 | | |
15 | 21 | | |
16 | 22 | | |
17 | 23 | | |
18 | 24 | | |
19 | 25 | | |
| 26 | + | |
20 | 27 | | |
21 | 28 | | |
22 | 29 | | |
| |||
30 | 37 | | |
31 | 38 | | |
32 | 39 | | |
33 | | - | |
| 40 | + | |
34 | 41 | | |
35 | 42 | | |
0 commit comments