'Returns predictions for a single batch of samples.
# Arguments
x: input data, as a Numpy array or list of Numpy arrays
(if the model has multiple inputs).
# Returns
A Numpy array of predictions.'

def predict_on_batch(self, x):

    if (not self.built):
        self.build()
    return self.model.predict_on_batch(x)
