def __init__(self, learning_rate=0.05, batch_size=1, num_epochs=300, threshold=0.02, add_layer_dynamic=False, layer_to_expand=0):
    self._learning_rate = learning_rate
    self._batchSize = batch_size
    self._num_epochs = num_epochs
    self._threshold = threshold
    self._add_layer_dynamic = add_layer_dynamic
    self._layer_to_expand = int(layer_to_expand)
    self._updatedLoss = 1000.0
    self._diffs = []
    self._losses = []
    self._updates = []
    self._epoch = 0
def __init__(self, learning_rate=0.05, batch_size=1, num_epochs=300, threshold=0.02, add_layer_dynamic=False, layer_to_expand=0):
    self._learning_rate = learning_rate
    self._batchSize = batch_size
    self._num_epochs = num_epochs
    self._threshold = threshold
    self._add_layer_dynamic = add_layer_dynamic
    self._layer_to_expand = int(layer_to_expand)
    self._updatedLoss = 1000.0
    self._diffs = []
    self._losses = []
    self._updates = []
    self._epoch = 0