MatrixBufferOptions Struct Reference

#include <nnet-matrix-buffer.h>

Collaboration diagram for MatrixBufferOptions:

Public Member Functions

 MatrixBufferOptions ()
 
void Register (OptionsItf *opts)
 

Public Attributes

int32 matrix_buffer_size
 

Detailed Description

Definition at line 37 of file nnet-matrix-buffer.h.

Constructor & Destructor Documentation

◆ MatrixBufferOptions()

MatrixBufferOptions ( )
inline

Definition at line 40 of file nnet-matrix-buffer.h.

40  :
41  matrix_buffer_size(3 * 1024) // 3 x 1GB,
42  { }

Member Function Documentation

◆ Register()

void Register ( OptionsItf opts)
inline

Definition at line 44 of file nnet-matrix-buffer.h.

References OptionsItf::Register().

44  {
45  opts->Register("matrix-buffer-size", &matrix_buffer_size,
46  "Capacity of buffer for feature matrices, in MB.");
47  }

Member Data Documentation

◆ matrix_buffer_size

int32 matrix_buffer_size

Definition at line 38 of file nnet-matrix-buffer.h.


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