Public Member Functions | |
| template<typename Operator> | |
| bool | register_operator () noexcept |
| Register an operator type once. Registration uses no arena storage. | |
| void | reset () noexcept |
| void | begin_graph () noexcept |
| bool | rewind_graph () noexcept |
| Reclaim only operation records, preserving views and their gradients. | |
| BufferView< T > | view (T *values, std::size_t length) noexcept |
| Generic active view; output() is clearer for application code. | |
Reverse-mode tape using caller-supplied storage and a fixed operator list.
|
inlinenoexcept |
Mark all current arena allocations as persistent training state.
|
inlinenoexcept |
Register an operator type once. Registration uses no arena storage.
| Operator | Operator type to register. |
|
inlinenoexcept |
Release gradients and records. Operator registrations are preserved.
|
inlinenoexcept |
Reclaim only operation records, preserving views and their gradients.
|
inlinenoexcept |
Generic active view; output() is clearer for application code.
| values | Caller-owned value buffer, which must outlive the view. |
| length | Number of values and gradient elements. |