(self, target)
| 293 | target.hk = copy.deepcopy(self.hk) |
| 294 | |
| 295 | def load(self, target): |
| 296 | self.xx = copy.deepcopy(target.xx) |
| 297 | self.aa = copy.deepcopy(target.aa) |
| 298 | self.bb = copy.deepcopy(target.bb) |
| 299 | self.pp = copy.deepcopy(target.pp) |
| 300 | self.hk = copy.deepcopy(target.hk) |
| 301 | |
| 302 | def LN(self, xx, w): |
| 303 | return F.layer_norm(xx, (self.n_embd,), weight=w.weight, bias=w.bias) |
no outgoing calls
no test coverage detected