code: def __init__(self, config, net_params):
      self.gpu_policy = _utils.TensorFlowGPUPolicy()
      self.gpu_policy.start()
  
      for key in net_params.keys():
          net_params[key] = _utils.convert_shared_float_array_to_numpy(
              net_params[key]
          )
  
      for key in config.keys():
          config[key] = _utils.convert_shared_float_array_to_numpy(
              config[key]
          )
  
      _tf = _lazy_import_tensorflow()
  
      self.st_graph = _tf.Graph()
      self._batch_size = 1
      self._finetune_all_params = True
      self._define_training_graph = bool(config["st_training"])
  
      self.sess = _tf.Session(graph=self.st_graph)
      with self.st_graph.as_default():
          self.init_style_transfer_graph(net_params)
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  from turicreate.toolkits._tf_model import TensorFlowModel
  import numpy
  import turicreate.toolkits._tf_utils
  from turicreate._deps.minimal_package import _minimal_package_import_check
label_desc: Use image node_id 1 to create a new StyleTransferTensorFlowModel object from inherited base classes: TensorFlowModel with example: obj = StyleTransferTensorFlowModel(config, net_params)