'Forward propagates a minibatch x through the model.
Arguments:
x (Tensor): Input minibatch data.
inference (bool): Flag for performing training or inference
Only affects batch norm and dropout layers.
Returns:
Tensor: the output of the final layer in the model'

def fprop(self, x, inference=False):

    return self.layers.fprop(x, inference)
