'Generates output predictions for the input samples.
The input samples are processed batch by batch.
# Arguments
x: the input data, as a Numpy array.
batch_size: integer.
verbose: verbosity mode, 0 or 1.
# Returns
A Numpy array of predictions.'

def predict(self, x, batch_size=32, verbose=0):

    if (not self.built):
        self.build()
    return self.model.predict(x, batch_size=batch_size, verbose=verbose)
