How to create a 1-D range tensor?

后端 未结 0 1906
广开言路
广开言路 2021-02-05 22:23

I have a n-D array. I need to create a 1-D range tensor based on dimensions.

for an example:

x = tf.placeholder(tf.float32, shape=[None,4]) 
  
r = tf.rang         


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