I want to add rounding modifiers to arith::Addf
. Is that possible to extend existing Ops? Or do I need to implement my own Addf
?
You can attach arbitrary attributes to arbitrary ops using Operation::setAttr
, but transformations are not required to preserve or take into account such attributes. Alternatively, you can modify the op itself or indeed create a new op.
1 Like
Ah, I see. Thanks!