How to convert python 3d list to ragged tensor in tensorflow?

前端 未结 0 352
盖世英雄少女心
盖世英雄少女心 2020-12-23 02:42

I am using the following code:

def ragged_from_3Dlist(list3d):
    values = [item for list2d in list3d for list1d in list2d for item in list1d]
    lens2d = [         


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