|
Uni20
Asynchronous tensor and runtime library.
|
Reverse-mode gradient accumulation channel built on reverse epoch queues. More...
Go to the source code of this file.
Classes | |
| struct | uni20::async::async_value_type< ReverseValue< T > > |
| class | uni20::async::ReverseValue< T > |
| Reverse-mode accumulation endpoint with staged input/output gradient channels. More... | |
Namespaces | |
| namespace | uni20 |
| namespace | uni20::async |
| This represents the reverse-mode adjoint for functions of complex variables, assuming a real-valued scalar loss function ( L \colon \mathbb{C} \to \mathbb{R} ). | |
Functions | |
| template<typename T , typename U > | |
| AsyncTask | uni20::async::async_accumulate (ReadBuffer< T > a_, ReadBuffer< U > b_, WriteBuffer< T > out_) |
Compute out = a + b while tolerating cancellation of either input. | |
| template<typename T , typename U > | |
| AsyncTask | uni20::async::async_accumulate_minus (ReadBuffer< T > a_, ReadBuffer< U > b_, WriteBuffer< T > out_) |
Compute out = a - b while tolerating cancellation of either input. | |
| template<typename T > | |
| ReadBuffer< T > | uni20::async::read (ReverseValue< T > const &x) |
| Free-function read adapter for ReverseValue. | |
Reverse-mode gradient accumulation channel built on reverse epoch queues.