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

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

Inheritance diagram for keras::DataChunk:
keras::DataChunk2D keras::DataChunk2D keras::DataChunkFlat keras::DataChunkFlat

Public Member Functions

virtual ~DataChunk ()
 
virtual size_t get_data_dim (void) const
 
virtual std::vector< float > const & get_1d () const
 
virtual std::vector< std::vector< std::vector< float > > > const & get_3d () const
 
virtual void set_data (std::vector< std::vector< std::vector< float > > > const &)
 
virtual void set_data (std::vector< float > const &)
 
virtual void read_from_file (const std::string &fname)
 
virtual void show_name ()=0
 
virtual void show_values ()=0
 
virtual ~DataChunk ()
 
virtual size_t get_data_dim (void) const
 
virtual std::vector< float > const & get_1d () const
 
virtual std::vector< std::vector< std::vector< float > > > const & get_3d () const
 
virtual void set_data (std::vector< std::vector< std::vector< float > > > const &)
 
virtual void set_data (std::vector< float > const &)
 
virtual void read_from_file (const std::string &fname)
 
virtual void show_name ()=0
 
virtual void show_values ()=0
 

Detailed Description

Definition at line 32 of file KerasModel.h.

Constructor & Destructor Documentation

virtual keras::DataChunk::~DataChunk ( )
inlinevirtual

Definition at line 34 of file KerasModel.h.

34 {}
virtual keras::DataChunk::~DataChunk ( )
inlinevirtual

Definition at line 32 of file KerasModel.h.

32 {}

Member Function Documentation

virtual std::vector<float> const& keras::DataChunk::get_1d ( ) const
inlinevirtual

Reimplemented in keras::DataChunkFlat, and keras::DataChunkFlat.

Definition at line 34 of file KerasModel.h.

34 { throw "not implemented"; };
virtual std::vector<float> const& keras::DataChunk::get_1d ( ) const
inlinevirtual
virtual std::vector<std::vector<std::vector<float> > > const& keras::DataChunk::get_3d ( ) const
inlinevirtual

Reimplemented in keras::DataChunk2D, and keras::DataChunk2D.

Definition at line 35 of file KerasModel.h.

35 { throw "not implemented"; };
virtual std::vector<std::vector<std::vector<float> > > const& keras::DataChunk::get_3d ( ) const
inlinevirtual
virtual size_t keras::DataChunk::get_data_dim ( void  ) const
inlinevirtual

Reimplemented in keras::DataChunkFlat, keras::DataChunkFlat, keras::DataChunk2D, and keras::DataChunk2D.

Definition at line 33 of file KerasModel.h.

33 { return 0; }
virtual size_t keras::DataChunk::get_data_dim ( void  ) const
inlinevirtual
virtual void keras::DataChunk::read_from_file ( const std::string fname)
inlinevirtual

Reimplemented in keras::DataChunkFlat, keras::DataChunkFlat, keras::DataChunk2D, and keras::DataChunk2D.

Definition at line 39 of file KerasModel.h.

References set_data(), show_name(), and show_values().

39 {};
virtual void keras::DataChunk::read_from_file ( const std::string fname)
inlinevirtual

Reimplemented in keras::DataChunkFlat, keras::DataChunkFlat, keras::DataChunk2D, and keras::DataChunk2D.

Definition at line 41 of file KerasModel.h.

References show_name(), and show_values().

Referenced by keras::DataChunk2D::show_values().

41 {};
virtual void keras::DataChunk::set_data ( std::vector< std::vector< std::vector< float > > > const &  )
inlinevirtual

Reimplemented in keras::DataChunk2D, and keras::DataChunk2D.

Definition at line 36 of file KerasModel.h.

36 {};
virtual void keras::DataChunk::set_data ( std::vector< float > const &  )
inlinevirtual

Reimplemented in keras::DataChunkFlat, and keras::DataChunkFlat.

Definition at line 37 of file KerasModel.h.

37 {};
virtual void keras::DataChunk::set_data ( std::vector< std::vector< std::vector< float > > > const &  )
inlinevirtual
virtual void keras::DataChunk::set_data ( std::vector< float > const &  )
inlinevirtual

Reimplemented in keras::DataChunkFlat, and keras::DataChunkFlat.

Definition at line 39 of file KerasModel.h.

39 {};
virtual void keras::DataChunk::show_name ( )
pure virtual
virtual void keras::DataChunk::show_name ( )
pure virtual
virtual void keras::DataChunk::show_values ( )
pure virtual
virtual void keras::DataChunk::show_values ( )
pure virtual

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