def __init__(self, net_type, loss_type = 'cross_entropy', optimizer = 'Adam'):

        # Sets up initial parameters and starts the tensorflow session.
        self.net_type = net_type
        self.loss_type = loss_type
        self.optimizer = optimizer
        self.sess = tf.Session()
        self.transform_dict = tf_dictionaries.transform_dict
        self.optimizer_dict = tf_dictionaries.optimizer_dict
Regression test for https://aeon.stsci.edu/ssb/trac/pyfits/ticket/86
dataset/ETHPy150Open calvinschmdt/EasyTensorflow/easy_tensorflow/tf_functions.py/Classifier.__init__--crossover with--dataset/ETHPy150Open spacetelescope/PyFITS/pyfits/tests/test_table.py/TestTableFunctions.test_attribute_field_shadowing