code: def variable_on_cpu(name, shape, initializer):
      r
      # Use the /cpu:0 device for scoped operations
      with tf.device(Config.cpu_device):
          # Create or get apropos variable
          var = tf.get_variable(name=name, shape=shape, initializer=initializer)
      return var
docs: r"""
      Next we concern ourselves with graph creation.
      However, before we do so we must introduce a utility function ``variable_on_cpu()``
      used to create a variable in CPU memory.