All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
CachingOptimizingCompilerOptions Struct Reference

#include <nnet-optimize.h>

Collaboration diagram for CachingOptimizingCompilerOptions:

Public Member Functions

 CachingOptimizingCompilerOptions ()
 
void Register (OptionsItf *opts)
 

Public Attributes

bool use_shortcut
 
int32 cache_capacity
 

Detailed Description

Definition at line 185 of file nnet-optimize.h.

Constructor & Destructor Documentation

Member Function Documentation

void Register ( OptionsItf opts)
inline

Definition at line 193 of file nnet-optimize.h.

References OptionsItf::Register().

Referenced by NnetTrainerOptions::Register(), and NnetComputeProbOptions::Register().

193  {
194  opts->Register("use-shortcut", &use_shortcut,
195  "If true, use the 'shortcut' in compilation whereby "
196  "computation requests with regular structure are identified "
197  "as such, a computation with a smaller number of distinct "
198  "values of 'n' is compiled (e.g. 2), and the compiled "
199  "computation is expanded to match the size of the real "
200  "computation request.");
201  opts->Register("cache-capacity", &cache_capacity,
202  "Determines how many computations the computation-cache will "
203  "store (most-recently-used).");
204  }

Member Data Documentation


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