#include <BatchVMatrix.h>
Inheritance diagram for PLearn::BatchVMatrix:


Public Member Functions | |
| BatchVMatrix () | |
| PLEARN_DECLARE_OBJECT (BatchVMatrix) | |
| virtual void | makeDeepCopyFromShallowCopy (map< const void *, void * > &copies) | 
| Transforms a shallow copy into a deep copy.   | |
| virtual void | build () | 
| Should call simply inherited::build(), then this class's build_().   | |
| virtual real | get (int i, int j) const | 
| returns element (i,j)   | |
| virtual void | put (int i, int j, real value) | 
| sets element (i,j) to value   | |
Static Public Member Functions | |
| void | declareOptions (OptionList &ol) | 
| redefine this in subclasses: call declareOption(...) for each option, and then call inherited::declareOptions(options) ( see the declareOption function further down)   | |
Public Attributes | |
| VMat | m | 
| Public build options.   | |
| int | batch_size | 
Private Types | |
| typedef VMatrix | inherited | 
Private Member Functions | |
| void | build_ () | 
| This does the actual building.   | |
Private Attributes | |
| int | last_batch | 
| int | last_batch_size | 
Definition at line 50 of file BatchVMatrix.h.
      
  | 
  
| 
 
 Reimplemented from PLearn::VMatrix. Definition at line 52 of file BatchVMatrix.h.  | 
  
      
  | 
  
| 
 
 Definition at line 67 of file BatchVMatrix.h.  | 
  
      
  | 
  
| 
 Should call simply inherited::build(), then this class's build_(). This method should be callable again at later times, after modifying some option fields to change the "architecture" of the object. Reimplemented from PLearn::VMatrix. Definition at line 70 of file BatchVMatrix.cc. References build_().  | 
  
      
  | 
  
| 
 This does the actual building. 
 Reimplemented from PLearn::VMatrix. Definition at line 79 of file BatchVMatrix.cc. References batch_size, last_batch, last_batch_size, PLearn::VMat::length(), m, and PLearn::VMat::width(). Referenced by build().  | 
  
      
  | 
  
| 
 redefine this in subclasses: call declareOption(...) for each option, and then call inherited::declareOptions(options) ( see the declareOption function further down) ex: static void declareOptions(OptionList& ol) { declareOption(ol, "inputsize", &MyObject::inputsize_, OptionBase::buildoption, "the size of the input\n it must be provided"); declareOption(ol, "weights", &MyObject::weights, OptionBase::learntoption, "the learnt model weights"); inherited::declareOptions(ol); } Reimplemented from PLearn::VMatrix. Definition at line 49 of file BatchVMatrix.cc. References PLearn::declareOption(), and PLearn::OptionList.  | 
  
      
  | 
  ||||||||||||
| 
 returns element (i,j) 
 Reimplemented from PLearn::VMatrix. Definition at line 95 of file BatchVMatrix.cc. References batch_size, k, last_batch, last_batch_size, and m.  | 
  
      
  | 
  
| 
 Transforms a shallow copy into a deep copy. 
 Reimplemented from PLearn::VMatrix. Definition at line 61 of file BatchVMatrix.cc. References PLearn::deepCopyField(), and m.  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  ||||||||||||||||
| 
 sets element (i,j) to value 
 Reimplemented from PLearn::VMatrix. Definition at line 109 of file BatchVMatrix.cc. References batch_size, and m.  | 
  
      
  | 
  
| 
 
 Definition at line 58 of file BatchVMatrix.h.  | 
  
      
  | 
  
| 
 
 Definition at line 62 of file BatchVMatrix.h.  | 
  
      
  | 
  
| 
 
 Definition at line 63 of file BatchVMatrix.h.  | 
  
      
  | 
  
| 
 Public build options. 
 Definition at line 57 of file BatchVMatrix.h. Referenced by build_(), get(), makeDeepCopyFromShallowCopy(), and put().  | 
  
 1.3.7