numlabels to output_layer_size.