code: def load_ignore_keys(
      model, wgts: dict  # Model architecture  # Model weights
  ) -> tuple:
      "Load `wgts` in `model` ignoring the names of the keys, just taking parameters in order"
      sd = model.state_dict()
      for k1, k2 in zip(sd.keys(), wgts.keys()):
          sd[k1].data = wgts[k2].data.clone()
      return model.load_state_dict(sd)
  
imports: from __future__ import annotations
  from ..basics import *
  from .core import *
  from .data import *
  from .models.core import *
  from .models.awdlstm import *
  from ..callback.rnn import *
  from ..callback.progress import *
  from .models.core import _model_meta
label_desc: Use image node_id 3 for calling a global function with example usage: load_ignore_keys(model, wgts) and returns: model