raiseTypeError("The number of dimensions and/or broadcastable pattern of the input is incorrect for this op. Expected %s, got %s."%(self.input_broadcastable,ib))
ob=[]
ifnotisinstance(input.type,CudaNdarrayType):
raiseTypeError("The input of a GpuDimshuffle must be a CudaNdarray")