generating segment labels for a Tensor given a value indicating segment boundaries

前端 未结 0 538
清酒与你
清酒与你 2020-12-07 10:53

Does anyone know of a way to generate a \'segment label\' for a Tensor, given a unique value that represents segment boundaries within the Tensor?

For example, given

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