CINN icon indicating copy to clipboard operation
CINN copied to clipboard

Add Conv2d_winograd, fix `Fuse` schedule and enhance simplify

Open haozech opened this issue 4 years ago • 1 comments

This PR did 3 things:

  1. Add conv2d_winograd compute and schedule
  2. Fix Fuse schedule
  3. Enhance simplify: For examples: a = 2x and b = 8 -> a/b = x/4

if 0 < b < 3 -> (3a+b) % 6 = (3a % 6) + (b % 6)

2x % 4 = 2 * (x % 2)

if 0 < b < 3, (3a+b) / 6 = (3a / 6) + (b / 6)

haozech avatar Oct 22 '21 02:10 haozech

Thanks for your contribution!

paddle-bot-old[bot] avatar Oct 22 '21 02:10 paddle-bot-old[bot]