'Allocates the host and device output data buffers
and any other associated storage.
`self.outbuf` is the on-device buffer for the output minibatch
`self.mini_batch_out` is the on-host buffer for the output minibatch'

def allocate_outputs(self):

    self.outbuf = None
    if ('output' in self.hdf_file):
        self.outbuf = self.be.iobuf(self.out.shape[1])
        self.mini_batch_out = np.zeros(self.outbuf.shape)
