first pass of predict() method in OutputLayer