![]() |
libdl
0.0.1
Simple yet powerful deep learning
|


Public Types | |
| using | signature = R(Args...) |
Public Member Functions | |
| virtual | ~Model ()=default |
| void | to (const Device &device) noexcept |
| R | operator() (Args &&... args) |
Public Member Functions inherited from dl::ModelBase | |
| size_t | numParameters () const noexcept |
| size_t | numTrainableParams () const noexcept |
| std::map< std::string, dl::TensorRef > & | parameters () noexcept |
| const std::map< std::string, dl::TensorRef > & | parameters () const noexcept |
Protected Member Functions | |
| void | registerSubmodel (std::string prefix, const ModelBase &model) |
| virtual R | forward (Args... args)=0 |
Protected Member Functions inherited from dl::ModelBase | |
| void | registerParameter (std::string name, TensorPtr &tensor) |
| void | registerParameters (std::string prefix, std::ranges::range auto &tensors) |
| using dl::Model< R(Args...)>::signature = R(Args...) |
|
inline |
|
inlineprotected |