Tenncor
Public Member Functions | List of all members
layr::iLayerBuilder Struct Referenceabstract

#include <layer.hpp>

Inheritance diagram for layr::iLayerBuilder:
Inheritance graph
[legend]

Public Member Functions

virtual ~iLayerBuilder (void)=default
 
virtual void set_tensor (teq::TensptrT tens, std::string target)=0
 Set internal tensors that make up the output layer. More...
 
virtual void set_sublayer (LayerptrT layer)=0
 Set internal sublayers that make up the output layer. More...
 
virtual LayerptrT build (void) const =0
 Return the layer built to contain set tensors and sublayers. More...
 

Detailed Description

Layer builder interface defining internal tensor and sublayer setting and layer building (like a poor-man's dependency injector interface)

Constructor & Destructor Documentation

◆ ~iLayerBuilder()

virtual layr::iLayerBuilder::~iLayerBuilder ( void  )
virtualdefault

Member Function Documentation

◆ build()

virtual LayerptrT layr::iLayerBuilder::build ( void  ) const
pure virtual

Return the layer built to contain set tensors and sublayers.

Implemented in layr::DenseBuilder, layr::ConvBuilder, layr::RBMBuilder, layr::ULayerBuilder, and layr::SeqModelBuilder.

◆ set_sublayer()

virtual void layr::iLayerBuilder::set_sublayer ( LayerptrT  layer)
pure virtual

Set internal sublayers that make up the output layer.

Implemented in layr::DenseBuilder, layr::ConvBuilder, layr::ULayerBuilder, layr::RBMBuilder, and layr::SeqModelBuilder.

◆ set_tensor()

virtual void layr::iLayerBuilder::set_tensor ( teq::TensptrT  tens,
std::string  target 
)
pure virtual

Set internal tensors that make up the output layer.

Implemented in layr::ULayerBuilder, layr::DenseBuilder, layr::ConvBuilder, layr::RBMBuilder, and layr::SeqModelBuilder.


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