As MXNet model definitions do not preserve information about input and output dimensions, please note that the input of each "nna_i" network is a i x 1 matrix while its output is the two classes array (conformity,nonconformity)