How to slice and sum the N-d tensor?

前端 未结 0 969
轮回少年
轮回少年 2021-02-08 03:46

I have a tensor of shape [None,2,7], a dummy shape for better understanding. I need to get the below numpy functionality in tensorflow.

arr = np.array([[[1, 2, 3,         


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