LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
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 128 of file keras_model.h.

Constructor & Destructor Documentation

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

Definition at line 133 of file keras_model.h.

133 : m_name(name) {}
std::string m_name
Definition: keras_model.h:141
virtual keras::Layer::~Layer ( )
inlinevirtual

Definition at line 134 of file keras_model.h.

134 {}

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 140 of file keras_model.h.

140 { return m_name; }
std::string m_name
Definition: keras_model.h:141
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 141 of file keras_model.h.


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