code: def _create_loss(self):
      if isinstance(self.loss_creator, torch.nn.modules.loss._Loss):
          self.criterion = self.loss_creator
      else:
          self.criterion = self.loss_creator(self.config)
  
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 2 for calling the PytorchBaseModel obj's underlying member method code with example usage: obj._create_loss() without return types