Tenncor
|
#include <rbm.hpp>
Public Member Functions | |
RBM (teq::DimT nhidden, teq::DimT nvisible, UnaryptrT activation, layr::InitF< PybindT > weight_init, layr::InitF< PybindT > bias_init, const std::string &label) | |
RBM (DenseptrT hidden, DenseptrT visible, UnaryptrT activation, std::string label) | |
RBM (const RBM &other, std::string label_prefix="") | |
RBM & | operator= (const RBM &other) |
RBM (RBM &&other)=default | |
RBM & | operator= (RBM &&other)=default |
RBM * | 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 visible) const override |
Implementation of iLayer. More... | |
NodeptrT | backward_connect (NodeptrT hidden) const |
Return visible reconstruction from hidden. 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 | tag_sublayers (void) |
void | copy_helper (const RBM &other, std::string label_prefix="") |
Private Attributes | |
std::string | label_ |
DenseptrT | hidden_ |
DenseptrT | visible_ |
UnaryptrT | activation_ |
Additional Inherited Members | |
![]() | |
void | tag (teq::TensptrT tensor, LayerId subs) const |
void | recursive_tag (teq::TensptrT root, teq::TensSetT ignores, LayerId subs) const |
Layer implemnetation that connects forward and backward through 2 Dense layers sharing a weight
|
inline |
|
inline |
|
inline |
|
default |
|
inline |
Return visible reconstruction from hidden.
|
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.
|
inlineprivate |
|
private |
|
private |
|
private |
|
private |