Tenncor
|
Layer implementation to apply conv2d functions to weight and optional bias. More...
#include <conv.hpp>
Public Member Functions | |
Conv (std::pair< teq::DimT, teq::DimT > filter_hw, teq::DimT in_ncol, teq::DimT out_ncol, const std::string &label) | |
Conv (NodeptrT weight, NodeptrT bias, std::string label) | |
Conv (const Conv &other, std::string label_prefix="") | |
Conv & | operator= (const Conv &other) |
Conv (Conv &&other)=default | |
Conv & | operator= (Conv &&other)=default |
Conv * | 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 Conv &other, std::string label_prefix="") |
Private Attributes | |
std::string | label_ |
NodeptrT | weight_ |
NodeptrT | bias_ = nullptr |
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 conv2d 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 |