torch-mlir/lib/Conversion/TorchToLinalg
Ramiro Leal-Cavazos 5620fe030e
Add 1D, weight, and reduction support to nll_loss_backward (#729)
This commit adds the following support to the op `nll_loss_backward`:
- `input` tensor can be rank-1
- `weight` parameter
- `reduction` parameter
- `target`, `grad_output`, `total_weight` can be rank-0
- Checks that input tensors are of the expected type
2022-04-04 10:57:49 -07:00
..
CMakeLists.txt Split up TorchToLinalg.cpp 2022-03-14 10:19:41 -07:00
DataMovement.cpp [MLIR][TORCH] Add support for same input and output shapes for view op 2022-03-25 22:26:10 +05:30
IndirectDataMovement.cpp Split up TorchToLinalg.cpp 2022-03-14 10:19:41 -07:00
Linear.cpp Split up TorchToLinalg.cpp 2022-03-14 10:19:41 -07:00
Pooling.cpp Split up TorchToLinalg.cpp 2022-03-14 10:19:41 -07:00
PopulatePatterns.h Split up TorchToLinalg.cpp 2022-03-14 10:19:41 -07:00
Random.cpp Improve "pseudo" op terminology. 2022-03-15 17:57:52 -07:00
Reduction.cpp Split up TorchToLinalg.cpp 2022-03-14 10:19:41 -07:00
TensorConstructors.cpp [MLIR][TORCH] Add E2E support for aten.new_empty op 2022-03-30 13:21:01 +05:30
TensorScalarInterop.cpp Split up TorchToLinalg.cpp 2022-03-14 10:19:41 -07:00
TorchToLinalg.cpp Bump LLVM at 8361c5da30588d3d4a48eae648f53be1feb5cfad 2022-03-18 13:16:14 -04:00
Uncategorized.cpp Add 1D, weight, and reduction support to nll_loss_backward (#729) 2022-04-04 10:57:49 -07:00
Utils.cpp Split up TorchToLinalg.cpp 2022-03-14 10:19:41 -07:00
Utils.h Split up TorchToLinalg.cpp 2022-03-14 10:19:41 -07:00