(self)
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
Allocates the host and device output data buffers
        and any other associated storage.
Allocates the host and device output data buffers and any other associated storage .
def allocate_outputs(self):
        """
        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
        """
        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)
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 )