Tenncor
Public Member Functions | Private Member Functions | Private Attributes | List of all members
layr::ULayer Struct Referencefinal

Layer implementation to apply activation and pooling functions. More...

#include <ulayer.hpp>

Inheritance diagram for layr::ULayer:
Inheritance graph
[legend]
Collaboration diagram for layr::ULayer:
Collaboration graph
[legend]

Public Member Functions

 ULayer (const std::string &ulayer_type, const std::string &extra_info="")
 
 ULayer (const ULayer &other, std::string label_prefix="")
 
ULayeroperator= (const ULayer &other)=default
 
 ULayer (ULayer &&other)=default
 
ULayeroperator= (ULayer &&other)=default
 
ULayerclone (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...
 
- Public Member Functions inherited from layr::iLayer
virtual ~iLayer (void)=default
 
iLayerclone (std::string label_prefix="") const
 Return deep copy of this layer with prefixed label. More...
 

Private Member Functions

iLayerclone_impl (const std::string &label_prefix) const override
 

Private Attributes

std::string label_
 
std::string utype_
 
UnaryF unary_
 
NodeptrT placeholder_
 

Additional Inherited Members

- Protected Member Functions inherited from layr::iLayer
void tag (teq::TensptrT tensor, LayerId subs) const
 
void recursive_tag (teq::TensptrT root, teq::TensSetT ignores, LayerId subs) const
 

Detailed Description

Layer implementation to apply activation and pooling functions.

Constructor & Destructor Documentation

◆ ULayer() [1/3]

layr::ULayer::ULayer ( const std::string &  ulayer_type,
const std::string &  extra_info = "" 
)
inline

◆ ULayer() [2/3]

layr::ULayer::ULayer ( const ULayer other,
std::string  label_prefix = "" 
)
inline

◆ ULayer() [3/3]

layr::ULayer::ULayer ( ULayer &&  other)
default

Member Function Documentation

◆ clone()

ULayer* layr::ULayer::clone ( std::string  label_prefix = "") const
inline

Return deep copy of this layer with prefixed label.

◆ clone_impl()

iLayer* layr::ULayer::clone_impl ( const std::string &  label_prefix) const
inlineoverrideprivatevirtual

Implements layr::iLayer.

◆ connect()

NodeptrT layr::ULayer::connect ( NodeptrT  input) const
inlineoverridevirtual

Implementation of iLayer.

Implements layr::iLayer.

◆ get_contents()

teq::TensptrsT layr::ULayer::get_contents ( void  ) const
inlineoverridevirtual

Implementation of iLayer.

Implements layr::iLayer.

◆ get_label()

std::string layr::ULayer::get_label ( void  ) const
inlineoverridevirtual

Implementation of iLayer.

Implements layr::iLayer.

◆ get_ltype()

std::string layr::ULayer::get_ltype ( void  ) const
inlineoverridevirtual

Implementation of iLayer.

Implements layr::iLayer.

◆ get_ninput()

size_t layr::ULayer::get_ninput ( void  ) const
inlineoverridevirtual

Implementation of iLayer.

Implements layr::iLayer.

◆ get_noutput()

size_t layr::ULayer::get_noutput ( void  ) const
inlineoverridevirtual

Implementation of iLayer.

Implements layr::iLayer.

◆ operator=() [1/2]

ULayer& layr::ULayer::operator= ( const ULayer other)
default

◆ operator=() [2/2]

ULayer& layr::ULayer::operator= ( ULayer &&  other)
default

Member Data Documentation

◆ label_

std::string layr::ULayer::label_
private

◆ placeholder_

NodeptrT layr::ULayer::placeholder_
private

◆ unary_

UnaryF layr::ULayer::unary_
private

◆ utype_

std::string layr::ULayer::utype_
private

The documentation for this struct was generated from the following file: