def vecToStack(self,vec):
        start = 0
        sizes = [self.inputDim]+self.layerSizes+[self.outputDim]
        for n,m,i in zip(sizes[:-1],sizes[1:],range(len(sizes)-1)):
            # TODO why is this ugpacking into a list for w,b instead of tuple?
            self.stack[i] = [gp.garray(vec[start:start+m*n]).reshape(m,n),\
                                 gp.garray(vec[start+m*n:start+m*(n+1)]).reshape(m,1)]
            start += m*(n+1)
        if self.temporalLayer > 0:
            rs = self.layerSizes[1-self.temporalLayer]
            self.stack[-1] = [gp.garray(vec[start:start+rs*rs]).reshape(rs,rs),\
                                  gp.garray(vec[start+rs*rs:])]
dataset/ETHPy150Open amaas/stanford-ctc/ctc/rnnet.py/RNNet.vecToStack/swapped operands of `-`