TensorFlow - Invalid argument: Reshape:0 is both fed and fetched

前端 未结 2 1857
一向
一向 2021-01-03 03:24

Is there a way to both feed and fetch the same variable in Tensorflow? If not, why is this not allowed?

I\'m getting this error:

StatusNotOK: Inval         


        
2条回答
  •  执念已碎
    2021-01-03 03:54

    I just realized that my error was occurring because I was running on a deprecated version of TensorFlow. I'm still interested to hear about how variables can appear in both feed and fetch though!

提交回复
热议问题