搜索自:stackoverflow
Right now the Variable.name
property maps to the name of the mutable Tensor
in which that variable is stored (principally because a Variable
can be used wherever a Tensor
is expected). Tensor names are generated from the name of the operation that produces them (a Variable
op in this case) and the index of the output to which that tensor corresponds.