TensorFlow 1.x Deep Learning Cookbook
上QQ阅读APP看书,第一时间看更新

There's more...

If we are doing pision between integer tensors, it is better to use tf.truep(a,b) as it first casts the integer tensors to floating points and then performs element-wise pision.