AttributeError: 'list' object has no attribute 'as_datatype_enum'
最近开始学tensorflow,于是犯了个很坑的错误。。。。
大家是不是已经看出来问题出现在哪了。。。
没错!少了一组方括号!!!正确的在下面。。
a = tf.constant([[1.0,2.0],[2.0,3.0]])
b = tf.constant([[2.0,3.0],[4.0,5.0]])
最近开始学tensorflow,于是犯了个很坑的错误。。。。
大家是不是已经看出来问题出现在哪了。。。
没错!少了一组方括号!!!正确的在下面。。
a = tf.constant([[1.0,2.0],[2.0,3.0]])
b = tf.constant([[2.0,3.0],[4.0,5.0]])