TL;DR:
variables: can be changed, like parameters, weight, bias etc.
constant: can not be updated, but can be called multible times with only 1 copy in the memory
tensor: is the input an output of each operations.it flows,:D.
I’m unsure about the practical differences between the 4 variations below (they all evaluate to the same value). My understanding is that if I call tf
, it will create an operation on the graph, and otherwise it might. If I don't create the tf.constant()
at the…