pytorch-inference
pytorch::Layer Class Referenceabstract

#include <Layer.hpp>

Inheritance diagram for pytorch::Layer:
pytorch::AvgPool2d pytorch::BatchNorm2d pytorch::Branch pytorch::Concat pytorch::Conv2d pytorch::Difference pytorch::Divisor pytorch::Hardtanh pytorch::Linear pytorch::MaxPool2d pytorch::MaxUnpool2d pytorch::Product pytorch::ReLU pytorch::Sigmoid pytorch::Skip pytorch::Slice pytorch::Softmax pytorch::Sum pytorch::Tanh

Public Member Functions

virtual std::vector< tensor > forward (const std::vector< tensor > &input)=0
 Forward function for this layer. More...
 
virtual std::vector< tensor > operator() (const std::vector< tensor > &input)=0
 Forward function for this layer. More...
 

Member Function Documentation

◆ forward()

virtual std::vector<tensor> pytorch::Layer::forward ( const std::vector< tensor > &  input)
inlinepure virtual

◆ operator()()

virtual std::vector<tensor> pytorch::Layer::operator() ( const std::vector< tensor > &  input)
inlinepure virtual

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