def setViews(self,batchSize):
        """
        Sets view of gpu memory to be correct size for utterance.
        """
        assert batchSize <= self.maxBatch, "Batch size exceeds max batch"
        self.hActs = [H.get_col_slice(0,batchSize) for H in self.hActs_M]
        self.deltasC = self.deltasC_M.get_col_slice(0,batchSize)
        self.deltasOut = self.deltasOut_M.get_col_slice(0,batchSize)
        self.deltasIn = self.deltasIn_M.get_col_slice(0,batchSize)
        self.probs = self.probs_M.get_col_slice(0,batchSize)
        self.rowVec = self.rowVec_M.get_col_slice(0,batchSize)
        self.tmpGrad = self.tmpGrad_M.get_col_slice(0,batchSize)
dataset/ETHPy150Open amaas/stanford-ctc/ctc_fast/nnets/nnet.py/NNet.setViews/original