Tenncor
|
Layer implementation to apply fully_connect functions to weight and optional bias. More...
#include <dense.hpp>
Public Member Functions | |
Dense (teq::DimT nunits, teq::DimT indim, layr::InitF< PybindT > weight_init, layr::InitF< PybindT > bias_init, const std::string &label) | |
Dense (NodeptrT weight, NodeptrT bias, std::string label) | |
Dense (const Dense &other, std::string label_prefix="") | |
Dense & | operator= (const Dense &other) |
Dense (Dense &&other)=default | |
Dense & | operator= (Dense &&other)=default |
Dense * | clone (std::string label_prefix="") const |
Return deep copy of this layer with prefixed label. More... | |
size_t | get_ninput (void) const override |
Implementation of iLayer. More... | |
size_t | get_noutput (void) const override |
Implementation of iLayer. More... | |
std::string | get_ltype (void) const override |
Implementation of iLayer. More... | |
std::string | get_label (void) const override |
Implementation of iLayer. More... | |
teq::TensptrsT | get_contents (void) const override |
Implementation of iLayer. More... | |
NodeptrT | connect (NodeptrT input) const override |
Implementation of iLayer. More... | |
![]() | |
virtual | ~iLayer (void)=default |
iLayer * | clone (std::string label_prefix="") const |
Return deep copy of this layer with prefixed label. More... | |
Private Member Functions | |
iLayer * | clone_impl (const std::string &label_prefix) const override |
void | copy_helper (const Dense &other, std::string label_prefix="") |
Private Attributes | |
std::string | label_ |
NodeptrT | weight_ |
NodeptrT | bias_ |
Additional Inherited Members | |
![]() | |
void | tag (teq::TensptrT tensor, LayerId subs) const |
void | recursive_tag (teq::TensptrT root, teq::TensSetT ignores, LayerId subs) const |
Layer implementation to apply fully_connect functions to weight and optional bias.
|
inline |
|
inline |
|
inline |
|
default |
|
inline |
Return deep copy of this layer with prefixed label.
|
inlineoverrideprivatevirtual |
Implements layr::iLayer.
|
inlineoverridevirtual |
Implementation of iLayer.
Implements layr::iLayer.
|
inlineprivate |
|
inlineoverridevirtual |
Implementation of iLayer.
Implements layr::iLayer.
|
inlineoverridevirtual |
Implementation of iLayer.
Implements layr::iLayer.
|
inlineoverridevirtual |
Implementation of iLayer.
Implements layr::iLayer.
|
inlineoverridevirtual |
Implementation of iLayer.
Implements layr::iLayer.
|
inlineoverridevirtual |
Implementation of iLayer.
Implements layr::iLayer.
|
private |
|
private |
|
private |