code: def single_threaded_session(make_default=False, graph=None):
      """
      Returns a session which will only use a single CPU
  
      :param make_default: (bool) if this should return an InteractiveSession or a normal Session
      :param graph: (TensorFlow Graph) the graph of the session
      :return: (TensorFlow session)
      """
      return make_session(
          num_cpu=1, make_default=make_default, graph=graph
      )
  
imports: import os
  import collections
  import functools
  import multiprocessing
  from typing import Set
  import numpy
  import tensorflow
label_desc: Use image node_id 13 for calling a global function with example usage: single_threaded_session(make_default, graph) and returns: make_session