class_docstr: This class uses a `RunnerSingleGPU` object to train a model on a single
  GPU.
class_docstr_tok: ["This","class","uses","a","`","RunnerSingleGPU","`","object","to","train","a","model","on","a","single","GPU","."]
code: def __init__(self, *args, **kwargs):
      super(TrainerSingleGPU, self).__init__(*args, **kwargs)
      from runner import RunnerSingleGPU
  
      self.runner = RunnerSingleGPU(
          self.inputs, self.outputs, sess=self.sess
      )
  
imports: from collections import OrderedDict
  import logging
  import math
  import time
  import os
  import numpy
  import six
  import tensorflow
  from cleverhans.utils_tf import batch_indices
  from cleverhans.utils_mnist import data_mnist
  import utils_cifar
  import utils_svhn
  from utils import preprocess_batch
  from make_model import make_model
  from evaluator import Evaluator
  from evaluator import create_adv_by_name
  from model import clone_variable
label_desc: Use image node_id 1 to create a new TrainerSingleGPU object from inherited base classes: TrainManager with example: obj = TrainerSingleGPU()