Class CuCompressedMatrixBase is an abstract base class that allows you to compress a matrix of type CuMatrix<BaseFloat>. More...
#include <cu-compressed-matrix.h>

Public Member Functions | |
| virtual void | CopyFromMat (const CuMatrixBase< BaseFloat > &mat)=0 | 
| Sets *this to an appropriately compressed copy of 'mat', which includes resizing *this.  More... | |
| virtual void | CopyToMat (CuMatrixBase< BaseFloat > *mat) const =0 | 
| Copies the contents of *this to 'mat', which should be correctly sized beforehand.  More... | |
| virtual int32 | NumRows () const =0 | 
| virtual int32 | NumCols () const =0 | 
| virtual | ~CuCompressedMatrixBase () | 
Class CuCompressedMatrixBase is an abstract base class that allows you to compress a matrix of type CuMatrix<BaseFloat>.
When you instantiate it you would choose the child-class type (by allocating the appropriate child-class type via 'new').
Definition at line 35 of file cu-compressed-matrix.h.
      
  | 
  inlinevirtual | 
Definition at line 54 of file cu-compressed-matrix.h.
      
  | 
  pure virtual | 
Sets *this to an appropriately compressed copy of 'mat', which includes resizing *this.
The details of how this is done will be different in different child classes.
Implemented in CuCompressedMatrix< I >.
Referenced by kaldi::CuCompressedMatrixTestNonnegative(), kaldi::CuCompressedMatrixTestSign(), and kaldi::CuCompressedMatrixTestSymmetric().
      
  | 
  pure virtual | 
Copies the contents of *this to 'mat', which should be correctly sized beforehand.
Implemented in CuCompressedMatrix< I >.
Referenced by kaldi::CuCompressedMatrixTestNonnegative(), kaldi::CuCompressedMatrixTestSign(), kaldi::CuCompressedMatrixTestSymmetric(), and NnetComputer::ExecuteCommand().
      
  | 
  pure virtual | 
Implemented in CuCompressedMatrix< I >.
Referenced by NnetComputer::ExecuteCommand().
      
  | 
  pure virtual | 
Implemented in CuCompressedMatrix< I >.
Referenced by NnetComputer::ExecuteCommand().