Yes the weights are basically compiled code, compiled from the source data and the training code.