Chenguang Wang
Chenguang Wang
Alright I see what you are doing there. It's weird that ":scrollable" is treated as a pure css selector.
@joshturge maybe check out [QBE's implementation](https://c9x.me/git/qbe.git/commit/?id=5af33410f6faa6c0f7d97af5b802b2608b228bc2) Note that it was reverted due to tooling reasons, but I am trying to do a roll-forward since the blocker seems gone. UPDATE: or,...
A better solution might be to clamp to `[-1, 1]` (assuming `clamp(NaN, [-1, 1])` is still `NaN`), then round (away from zero).
Looks like we do not have any MHLO->TF conversion pattern for `mhlo.round_nearest_afz` yet. For now converting `mhlo.sign` to `tf.sign` might actually be the best option.