When we reload the model. Needed for the GPU stuff.
(params, tparams)
| 56 | |
| 57 | |
| 58 | def zipp(params, tparams): |
| 59 | """ |
| 60 | When we reload the model. Needed for the GPU stuff. |
| 61 | """ |
| 62 | for kk, vv in params.items(): |
| 63 | tparams[kk].set_value(vv) |
| 64 | |
| 65 | |
| 66 | def unzip(zipped): |