45template <
typename T>
class Var {
71 requires std::convertible_to<U, T>
Async<T> is a container for coroutine-safe asynchronous read/write.
Definition async/async.hpp:93
Reverse-mode accumulation endpoint with staged input/output gradient channels.
Definition reverse_value.hpp:70
Var & operator=(Var &&)=default
Async< T > & backprop() &
Finalize reverse propagation and return the gradient channel.
Definition var.hpp:77
ReverseValue< T > grad
Definition var.hpp:88
Var(Var &other)
Definition var.hpp:57
Var & operator=(Var const &)=delete
Var(Var const &)=delete
Disable ordinary copying (Vars are never copied in the normal sense).
Var(U &&val)
Constructs with a copy of an initial value that can be implicitly converted to T.
Definition var.hpp:72
Async< T > const & backprop() const &
Finalize reverse propagation and return the gradient channel.
Definition var.hpp:81
Async< T > value
Definition var.hpp:87
Var(Async< T > const &other)
Definition var.hpp:59
Async< T > backprop() &&
Finalize reverse propagation and move out the gradient channel.
Definition var.hpp:85
Var & operator=(Var &other)
Definition var.hpp:61
T value_type
Definition var.hpp:47
This represents the reverse-mode adjoint for functions of complex variables, assuming a real-valued s...
Definition async/async.hpp:26
Reverse-mode gradient accumulation channel built on reverse epoch queues.
Defines internal task routing and the host-oriented scheduler interface.
Async aliases for lazy tensor-level views.