padded_batch: pad 2D tensors with a 1D tensor

前端 未结 0 1222
情深已故
情深已故 2021-01-21 06:31

I have a dataset whose elements are 2D tensors. These elements have shape (None, 2). An example dataset contains these two elements:

[[1 2]
 [3 4]]

[[ 5  6]
 [ 7         


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