在读cs244n_pytorch_tutorial时,谈到创建张量时,文档说:longtensor在nlp中特别重要。原来如下
LongTensors are particularly important in NLP as many methods that deal with indices require the indices to be passed as a LongTensor, which is a 64 bit integer.
索引需要当作LongTensor传入------什么意思?