how to pad a ragged sequence to a fixed length

后端 未结 0 1389
一生所求
一生所求 2021-01-16 20:06

I have a ragged tensor ss:

ss = tf.ragged.constant([[\'a\',\'c\',\'d\',\'e\'],
      [\'e\',\'q\',\'s\'],
      [\'p\',\'t\'],
      [\'s\',\'m\',\'n\',\'x\',         


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