docstr: Loads the weight of the current model.
docstr_tok: ["Loads","the","weight","of","the","current","model","."]
code: def load_weights(self, path: str) -> None:
      """
      Loads the weight of the current model.
      """
      self.load_state_dict(torch.load(path))
  
imports: import torch
  import torch.nn
  import torch.optim
  from torch.utils.data import DataLoader
  from tqdm import tqdm
  from typing import List, Dict, Callable, Union, Tuple, Optional
  from alibi.models.pytorch.metrics import Metric, LossContainer
label_desc: Use image node_id 14 for calling the Model obj's underlying member method code with example usage: obj.load_weights(path) without return types