com.intel.analytics.bigdl.optim
Use loss as a validation result
loss calculated by forward function
recording the times of calculating loss
Use loss as a validation result