In the following specifications, red color indicates placeholders that are replaced by actual numbers in the file:
layers: number_of_layersHere, number_of_layers is an integer specifying the number of layers in the network (note that the input layer is counted as layer #1).
units: J1 J2 ... Jnumber_of_layersHere, the string units: is followed by number_of_layers integers. The L-th integer is denoted as JL, and it specifies the number of units in the L-th layer.
start layer start bias bL,1 bL,2 ... bL,JL end biasHere, we denote by bL,i the bias value for the i-th unit of layer L, and we denote by JL the number of units in layer L.
start w wL,1,1 wL,1,2 ... wL,1,JL-1 wL,2,1 wL,2,2 ... wL,2,JL-1 ... wL,JL-1,1 wL,JL-1,2 ... wL,JL-1,JL-1 end wHere, we denote by wL,i,j the weight value for the edge connecting the output of the j-th unit of layer L-1 to the input of the i-th unit of layer L. As before, we denote by J the number of units in layer L, and therefore JL-1 is the number of units in the preceding layer L-1. Essentially, the weights for layer L are represented as a matrix of JL rows and JL-1 columns.