Return cost as well as gradient.
Works better on cpu.
use softmax_diff instead of softmax_cost
*** empty log message ***
Adagrad training algorithm.
Returns accuracy and cost for net w on data x and labels y.
Take log after sumind and avoid -inf using realmin.
Temporary hack to handle bias rows and columns.
Network initialization functions
Call forwback in batch mode for gpu profiling.