return mean layer cost from train