|
| GradChecker (const string &model_file) |
|
void | Run () |
|
void | Run (Matrix &w, Matrix &dLbydw_analytical, float epsilon, const vector< float > &analytical_error) |
|
| ConvNet (const string &model_file) |
| Instantiate a model using the config in model_file.
|
|
void | SetupDataset (const string &train_data_config_file) |
|
virtual void | SetupDataset (const string &train_data_config_file, const string &val_data_config_file) |
|
virtual void | Train () |
| Start training. More...
|
|
void | Validate (DataHandler *dataset, vector< float > &error) |
| Validate the model on the specfied dataset and return the error. More...
|
|
void | Validate (vector< float > &error) |
| Validate the model on the validation dataset and return the error. More...
|
|
void | Save () |
| Write the model to disk. More...
|
|
void | Save (const string &output_file) |
| Write the model to disk in the file specified. More...
|
|
void | Load () |
| Load the model. More...
|
|
void | Load (const string &input_file) |
| Load the model from the file specified. More...
|
|
void | Display () |
| Display the state of the model. More...
|
|
void | DumpOutputs (const string &output_file, DataHandler *dataset, const vector< string > &layer_names) |
| Write the state of the layers to disk. More...
|
|
void | DumpOutputs (const string &output_file, const vector< string > &layer_names) |
| Write the state of the layers to disk. More...
|
|
void | AllocateMemory (bool fprop_only) |
| Allocate memory for the model. More...
|
|
|
virtual void | GetLoss (vector< float > &error) |
| Computes the loss function (to be displayed). More...
|
|
void | BuildNet () |
| Creates layers and edges. More...
|
|
void | DestroyNet () |
| Release all memory held by the model. More...
|
|
void | AllocateLayerMemory () |
| Allocate layer memory for using mini-batches of batch_size_. More...
|
|
void | AllocateEdgeMemory (bool fprop_only) |
| Allocate memory for edges. More...
|
|
string | GetCheckpointFilename () |
|
void | TimestampModel () |
|
void | Sort () |
| Topologically sort layers. More...
|
|
void | Fprop (Layer &input, Layer &output, Edge &edge, bool overwrite) |
| Forward propagate one layer. More...
|
|
virtual void | Bprop (Layer &output, Layer &input, Edge &edge, bool overwrite, bool update_weights) |
| Back propagate through one layer. More...
|
|
virtual void | Fprop (bool train) |
| Forward propagate through the network. More...
|
|
virtual void | Bprop (bool update_weights) |
| Backpropagate through the network and update weights. More...
|
|
virtual void | ComputeDeriv () |
| Computes the derivative of the loss function. More...
|
|
void | DumpOutputs (const string &output_file, DataHandler *dataset, vector< Layer * > &layers) |
| Write the state of the layers to disk. More...
|
|
virtual void | TrainOneBatch (vector< float > &error) |
| Takes one optimization step. More...
|
|
void | DisplayLayers () |
|
void | DisplayEdges () |
|
void | InsertPolyak () |
|
void | LoadPolyakWeights () |
|
void | LoadCurrentWeights () |
|
void | WriteLog (int current_iter, float time, float training_error) |
|
void | WriteLog (int current_iter, float time, const vector< float > &training_error) |
|
void | WriteValLog (int current_iter, const vector< float > &error) |
|
Layer * | GetLayerByName (const string &name) |
|
bool | CheckReduceLearningRate (const vector< float > &val_error) |
| Decides if learning rate should be reduced. More...
|
|
void | ReduceLearningRate (const float factor) |
| Multiply learning rate by factor. More...
|
|