import tensorflow as tf

def initialize_session():
    """
    Initialize interactive session and all local and global variables
    :return: Session
    """
     
    sess.run(tf.local_variables_initializer())
    sess.run(tf.global_variables_initializer())
    return sess

def pt(title=None, text=None):
    """
    Use the print function to print a title and an object coverted to string
    :param title:
    :param text:
    """
    if text is None:
        text = title
        title = '-------------------------------------'
    else:
        title += ':'

    print(str(title) + " \n " + str(text))