stop_doing_math.png / "statements dreamed up by the utterly deranged" / "they have played us for absolute fools"
- unsigned_root = p**third
+ degenerate_p, p = _safe_denom(p)
+ unsigned_root = tf.where(degenerate_p, tf.constant(0., p.dtype), tf.exp(third*tf.math.log(p)))
shoutout to one of my engineers for delivering the goods with this meme