Tensorflow Error "unhashable Type: 'numpy.ndarray'"
import tensorflow as tf import numpy as np layer1_weight = tf.Variable(tf.zeros([2 , 3])) layer1_bias = tf.Variable(tf.zeros([3 , 1])) layer2_weight = tf.Varia
Solution 1:
First you define result
to be a placeholder, but later redefine it as
result = data_output[j]
. This is when it gets wrong, because you can no longer feed the value to feed_dict
.
Post a Comment for "Tensorflow Error "unhashable Type: 'numpy.ndarray'""