void setWeight ( MType inputW [K][D][KDepth *DDepth], ap_uint <32> cols, ap_uint <32> classNum ) set up weight parameters for prediction Parameters: inputW weight cols Effective weight numbers classNum number of classes.