code: def load_weights(self, output):
      if output is None:
          return
  
      self.actor.load_state_dict(
          torch.load("{}/actor.pkl".format(output))
      )
  
      self.critic.load_state_dict(
          torch.load("{}/critic.pkl".format(output))
      )
  
imports: import numpy
  import torch
  import torch.nn
  from torch.optim import Adam
  from .memory import SequentialMemory
  from .utils import to_numpy, to_tensor
label_desc: Use image node_id 9 for calling the DDPG obj's underlying member method code with example usage: obj.load_weights(output) without return types