在用TensorFlow_1.14.0中发现数据类型的显示带有 _ref :
x1=tf.Variable([1, 2, 3])
x2=tf.Variable([1.0, 2.0, 3.0])
也就是说 int32_ref 其实就是 tf.int32,float32_ref 其实就是 tf.float32 。
----------------------------------------------
在用TensorFlow_1.14.0中发现数据类型的显示带有 _ref :
x1=tf.Variable([1, 2, 3])
x2=tf.Variable([1.0, 2.0, 3.0])
也就是说 int32_ref 其实就是 tf.int32,float32_ref 其实就是 tf.float32 。
----------------------------------------------