在用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 。
个人理解:
带有 _ref 标志的TensorFlow变量其实一般是叶子节点,带有 _ref 也只是起到显示其是叶子节点作用,没有其他实际意义。
----------------------------------------------