code: def load_state_dict(self, state):
      self.config = state["config"]
      self.model = self.model_creator(self.config)
      self.model.load_state_dict(state["model"])
      self.model_built = True
      self._create_optimizer()
      self.optimizer.load_state_dict(state["optimizer"])
      self._create_loss()
  
imports: import torch
  from torch.utils.data import TensorDataset, DataLoader
  import types
  import numpy
  import math
  import pandas
  import tempfile
  import os
  from zoo.orca.automl.model.abstract import BaseModel, ModelBuilder
  from zoo.orca.automl.metrics import Evaluator
  from zoo.orca.automl.pytorch_utils import LR_NAME, DEFAULT_LR
label_desc: Use image node_id 18 for calling the PytorchBaseModel obj's underlying member method code with example usage: obj.load_state_dict(state) without return types