torch-mlir/lib/Conversion
Sean Silva 179105ca3e Add basic MLP's to the e2e curriculum.
These tests pass on the reference backend.

- Add aten.linear op + shape xfer function + ATen->Linalg lowering.
 - Note: this needs to be more automated, and needs to cover more cases.
 - Current not implemented caveats:
  - size-1 broadcasting for bias vector (either static-size-1 or ? case)
  - higher-rank aten.linear ops (not produced by torch.nn.Linear though)
  - type promotion (still don't even know the exact rules here)
- Add folder for torch.derefine op. Now the inliner can clean it up as
  it inlines. (call boundaries are a main place we need to insert
  torch.derefine) This is brittle -- the other important case is control
  flow which will need to be handled via an extension to
  RefineTypes.cpp (as will more robust call handling). River has an
  in-flight patch to update it to the new dataflow framework so I didn't
  want to do anything intrusive here.
    - Also adjust torch.derefine syntax to use the keyword `to` instead of
      `->`, as most type-only, cast-like ops do.
2021-04-27 12:18:54 -07:00
..
ATenToLinalg Add basic MLP's to the e2e curriculum. 2021-04-27 12:18:54 -07:00
ATenToTCF Add `aten.mm` to linalg lowering. 2021-04-16 12:03:31 -07:00
BasicpyToStd Bump llvm-project to 0524a09cc7e1a0797982feacf505825231efbee7 2021-03-23 14:29:05 -07:00
NumpyToTCF Bump llvm-project to 0524a09cc7e1a0797982feacf505825231efbee7 2021-03-23 14:29:05 -07:00
TCFToLinalg Bump llvm-project to 484b6648fdd4b104eaf7a2504dd07b60af2c9f8d 2021-04-22 18:12:55 -07:00
TCFToStd Bump llvm-project to 484b6648fdd4b104eaf7a2504dd07b60af2c9f8d 2021-04-22 18:12:55 -07:00
TCFToTCP Declare TCP dialect dependency in TCFToTCP conversion 2021-04-07 14:23:56 -07:00
CMakeLists.txt Add `aten.mm` to linalg lowering. 2021-04-16 12:03:31 -07:00
PassDetail.h Initial TCF/TCP E2E seed. 2020-05-08 20:20:41 -07:00
Passes.cpp Add `aten.mm` to linalg lowering. 2021-04-16 12:03:31 -07:00