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
Initializing function. Records the neural network type and, if given, the loss type and optimizer type.
dataset/ETHPy150Open calvinschmdt/EasyTensorflow/easy_tensorflow/tf_functions.py/Classifier.__init__