问题
I'd like division to return 0.
for 0./0.
instead of NaN
or an error in a tensorflow application.
I know how I can do this in numpy [1], [2], but I'm new to tensorflow.
How can this be achieved?
来源:https://stackoverflow.com/questions/45466142/tensorflow-divide-with-0-0-0