Quantcast
Channel: How can I resolve the, "feed a value for placeholder tensor" error? - Stack Overflow
Viewing all articles
Browse latest Browse all 2

Answer by Adnan S for How can I resolve the, "feed a value for placeholder tensor" error?

$
0
0

Seems like you are successfully declaring what the shape and type of 'y' is but not actually specifying any value for y. For placeholders, you also need to use feed_dict to set the value(s) for y during tf.Session run.

See example here.

A useful starting point is the official Tensorflow guides


Viewing all articles
Browse latest Browse all 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>