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

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N21-01-21/ExoticsTriggers/KerasModel.h"

Inheritance diagram for keras::Layer:
keras::LayerActivation keras::LayerActivation keras::LayerConv2D keras::LayerConv2D keras::LayerDense keras::LayerDense keras::LayerFlatten keras::LayerFlatten keras::LayerMaxPooling 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 ()
 
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 106 of file KerasModel.h.

Constructor & Destructor Documentation

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

Definition at line 111 of file KerasModel.h.

111 : m_name(name) {}
const XML_Char * name
Definition: expat.h:151
std::string m_name
Definition: KerasModel.h:119
virtual keras::Layer::~Layer ( )
inlinevirtual

Definition at line 112 of file KerasModel.h.

112 {}
keras::Layer::Layer ( std::string  name)
inline

Definition at line 109 of file KerasModel.h.

109 : m_name(name) {}
const XML_Char * name
Definition: expat.h:151
std::string m_name
Definition: KerasModel.h:119
virtual keras::Layer::~Layer ( )
inlinevirtual

Definition at line 110 of file KerasModel.h.

110 {}

Member Function Documentation

virtual keras::DataChunk* keras::Layer::compute_output ( keras::DataChunk )
pure virtual
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_cols ( ) const
pure virtual
virtual unsigned int keras::Layer::get_input_rows ( ) const
pure virtual
virtual unsigned int keras::Layer::get_input_rows ( ) const
pure virtual
std::string keras::Layer::get_name ( )
inline

Definition at line 116 of file KerasModel.h.

References string.

116 { return m_name; }
std::string m_name
Definition: KerasModel.h:119
std::string keras::Layer::get_name ( )
inline

Definition at line 118 of file KerasModel.h.

118 { return m_name; }
std::string m_name
Definition: KerasModel.h:119
virtual unsigned int keras::Layer::get_output_units ( ) const
pure virtual
virtual unsigned int keras::Layer::get_output_units ( ) const
pure virtual
virtual void keras::Layer::load_weights ( std::ifstream &  fin)
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 119 of file KerasModel.h.


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