How to convert string to tensor having torchtext.data.Field created?

前端 未结 0 967
情深已故
情深已故 2021-01-03 04:45

So I have a torchtext.data.Field with build_vocab done. I have trained my model on my dataset. How to use it to convert raw string into tensor for model to be able to do pre

相关标签:
回答
  • 消灭零回复
提交回复
热议问题