docs: def get_session(*args, **kwargs):
      """
      Pass session configuration options
      """
      if 'config' not in kwargs:
          kwargs['config'] = tf.ConfigProto(**settings.session)
      if settings.profiling.dump_timeline:
          def fill_kwargs(key, value):
              """
              Internal function for filling default None values with meaningful
              values from gpflow settings.
              """
              if kwargs.get(key) is None:
                  kwargs[key] = value
          fill_kwargs('output_file_name', settings.profiling.output_file_name)
          fill_kwargs('output_directory', settings.profiling.output_directory)
          fill_kwargs('each_time', settings.profiling.each_time)
          return TracerSession(*args, **kwargs)
      kwargs.pop("output_file_name", None)
      kwargs.pop("output_directory", None)
      kwargs.pop("each_time", None)
      return tf.Session(*args, **kwargs)