'Function to handle any preprocessing before pushing an output
mini-batch to the device.  For example, one-hot generation.
Arguments:
mini_batch (ndarray): M-by-N array where M is the flatten
output vector size and N is the batch size'

def gen_output(self, mini_batch):

    self.outbuf[:] = mini_batch
