Table A2.
train.content | A torch.ByteTensor that stores concatenated string data. Each string is ended with NULL (0). |
train.index | A lua table for which train.index[i] is a 2D torch.LongTensor. The train.index[i][j][k] indicates the offset in train.content for the string in class i, j-th sample and k-th field. |
train.length | A lua table for which train.length[i] is a 2D torch.LongTensor. The train.length[i][j][k] indicates the length for the string in class i, j-th sample and k-th field. The length does not count the ending NULL. |