All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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 ( )

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

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

Member Function Documentation

void Register ( OptionsItf opts)

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

int32 matrix_buffer_size

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

Referenced by MatrixBuffer::Next(), and MatrixBuffer::Read().

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