code: def sg_init(sess):
      r
      # initialize variables
      sess.run(tf.group(tf.global_variables_initializer(),
                        tf.local_variables_initializer()))
docs: r""" Initializes session variables.
      
      Args:
        sess: Session to initialize.