Dump the weights in lua format.
The style is: weights = {w1, w2, ... , wN}
weights = {w1, w2, ... , wN}
weights