Base class for anything that maps an observation to an action.
Definition agent.hpp:24
virtual Tensor act(const Tensor &observation)=0
Chooses an action for the given observation.
N-dimensional tensor. Owns its data buffer exclusively; a DeviceBackend* is injected (not owned) – th...
Definition tensor.hpp:29
Definition acquisition_functions.hpp:16
N-dimensional tensor – owns a buffer via DeviceBackend*, RAII (Rule of Five).