Public Member Functions | Public Attributes | List of all members
keras::Layer Class Referenceabstract

#include <keras_model.h>

Inheritance diagram for keras::Layer:
keras::LayerActivation keras::LayerConv2D keras::LayerDense keras::LayerFlatten keras::LayerMaxPooling

Public Member Functions

virtual void load_weights (std::ifstream &fin)=0
 
virtual keras::DataChunkcompute_output (keras::DataChunk *)=0
 
 Layer (std::string name)
 
virtual ~Layer ()
 
virtual unsigned int get_input_rows () const =0
 
virtual unsigned int get_input_cols () const =0
 
virtual unsigned int get_output_units () const =0
 
std::string get_name ()
 

Public Attributes

std::string m_name
 

Detailed Description

Definition at line 119 of file keras_model.h.

Constructor & Destructor Documentation

keras::Layer::Layer ( std::string  name)
inline

Definition at line 124 of file keras_model.h.

124 : m_name(name) {}
static QCString name
Definition: declinfo.cpp:673
std::string m_name
Definition: keras_model.h:132
virtual keras::Layer::~Layer ( )
inlinevirtual

Definition at line 125 of file keras_model.h.

125 {}

Member Function Documentation

virtual keras::DataChunk* keras::Layer::compute_output ( keras::DataChunk )
pure virtual
virtual unsigned int keras::Layer::get_input_cols ( ) const
pure virtual
virtual unsigned int keras::Layer::get_input_rows ( ) const
pure virtual
std::string keras::Layer::get_name ( )
inline

Definition at line 131 of file keras_model.h.

131 { return m_name; }
std::string m_name
Definition: keras_model.h:132
virtual unsigned int keras::Layer::get_output_units ( ) const
pure virtual
virtual void keras::Layer::load_weights ( std::ifstream &  fin)
pure virtual

Member Data Documentation

std::string keras::Layer::m_name

Definition at line 132 of file keras_model.h.


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