commit | b931cef769c6c428beaf60906d326ffc4faa79d7 | [log] [tgz] |
---|---|---|
author | Lei Zhang <antiagainst@google.com> | Thu Feb 14 11:01:08 2019 -0800 |
committer | jpienaar <jpienaar@google.com> | Fri Mar 29 16:27:55 2019 -0700 |
tree | 75fba6d924c413889f3232013defa25404cfcecf | |
parent | c1a9480c696be8f286cb9220299bdb96e76d51a1 [diff] |
[TFLite] Fuse AddOp into preceding convolution ops If we see an add op adding a constant value to a convolution op with constant bias, we can fuse the add into the convolution op by constant folding the bias and the add op's constant operand. This CL also removes dangling RewriterGen check that prevents us from using nested DAG nodes in result patterns, which is already supported. PiperOrigin-RevId: 233989654