torch-mlir/include/npcomp/Dialect/ATen/IR
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
..
.gitignore Add a number of kernels and new patterns. 2020-11-04 14:36:59 -08:00
ATenDialect.h Bump llvm-project to 444822d77a7fea28aa49edf24533c987efa1b2ee 2020-12-11 14:43:38 -08:00
ATenDialect.td Bump llvm-project to bc556e5685c0f97e79fb7b3c6f15cc5062db8e36 2021-01-08 14:18:09 -08:00
ATenOpInterface.td NFC: Re-organize ATen directory structure and fix warnings. 2020-10-22 14:13:26 -07:00
ATenOpInterfaces.h NFC: Re-organize ATen directory structure and fix warnings. 2020-10-22 14:13:26 -07:00
ATenOpStatisticsUtils.h Bump llvm-project to 444822d77a7fea28aa49edf24533c987efa1b2ee 2020-12-11 14:43:38 -08:00
ATenOps.td Add initial TorchScript module importer 2021-01-28 11:55:17 -08:00
CMakeLists.txt Bump llvm-project to 484b6648fdd4b104eaf7a2504dd07b60af2c9f8d 2021-04-22 18:12:55 -07:00
GeneratedATenOps.cpp.inc Add basic MLP's to the e2e curriculum. 2021-04-27 12:18:54 -07:00
GeneratedATenOps.td Add basic MLP's to the e2e curriculum. 2021-04-27 12:18:54 -07:00
LegacyGeneratedATenOps.td Add aten.mm op and "test" it e2e. 2020-11-20 17:21:24 -08:00