implemented check for per-example loss
implemented check for per-example loss

pks/cdec-dtrain-legacy,pks/cdec-dtrain-legacy,pks/cdec-dtrain-legacy,pks/cdec-dtrain-legacy,pks/cdec-dtrain-legacy,pks/cdec-dtrain-legacy