原代码为:y = tf.placeholder(tf.types.float32,[None, n_classes])
错误代码显示为:
AttributeError: module 'tensorflow' has no attribute 'types'
订正为:
y = tf.placeholder(tf.float32,[None, n_classes])
将原代码中的types去掉
原代码为:y = tf.placeholder(tf.types.float32,[None, n_classes])
错误代码显示为:
AttributeError: module 'tensorflow' has no attribute 'types'
订正为:
y = tf.placeholder(tf.float32,[None, n_classes])
将原代码中的types去掉