Dropout Backprop Runtime Error Fix
Dropout Backprop Runtime Error Fix

A runtime error was created when backprop was ran without first generating weights.

Placing `generateWeights()` with the variable declaration in `setBatchSize()` should always gaurentee that weights will be available.

Though, it is recommended to `net->setTraining(true)` before forward/back prop to ensure freshly generated weights each training input.
MiniLight/DeepCL,MiniLight/DeepCL,hughperkins/DeepCL,hughperkins/DeepCL,MiniLight/DeepCL,MiniLight/DeepCL,MiniLight/DeepCL,hughperkins/DeepCL,hughperkins/DeepCL,hughperkins/DeepCL