slice tensor of tensors using boolean tensor

后端 未结 0 1461
盖世英雄少女心
盖世英雄少女心 2021-01-27 03:31

Having two tensors :inputs_tokens is a batch of 20x300 of token ids and seq_A is my model output with size of [20, 300, 512] (512 vector for each of the tokens in the batch)

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