We used to bypass fake-quant nodes in resolve_reorder_axes, as a hack as we
needed to preserve fake-quant nodes on constant weights as the only way to encode min-max information when exporting to GraphDef. Not anymore. Now we unconditionally enable the resolve_constant_fake_quant transformation, and we don't do this bypass anymore; instead, when exporting to GraphDef, we re-add FakeQuant nodes just before exporting, around constant arrays that have minmax. PiperOrigin-RevId: 184774680
Loading
Please sign in to comment