torch-mlir/frontends/pytorch/csrc/builder
Sean Silva 0c89296075 Shore up error reporting for TorchScript import.
This code was not exception safe -- it would leave an operation
unattached to anything, which breaks MLIR's C++ data structure
invariants (e.g. it cannot safely erase ops).

Also, print out both the exception and any diagnostics, since they can
both contain useful information.
2021-05-20 11:28:20 -07:00
..
acap_dispatch.cpp Significantly restructure torch/aten import design. 2021-05-19 13:37:39 -07:00
acap_dispatch.h Significantly restructure torch/aten import design. 2021-05-19 13:37:39 -07:00
class_annotator.cpp [cleanup] Put the root class type for exportPath first. 2021-04-01 18:40:03 -07:00
class_annotator.h [cleanup] Put the root class type for exportPath first. 2021-04-01 18:40:03 -07:00
debug.cpp Delete old PyTorch 1.3 type dispatch oriented code paths. 2020-11-12 22:27:05 -08:00
debug.h Delete old PyTorch 1.3 type dispatch oriented code paths. 2020-11-12 22:27:05 -08:00
func_builder.cpp Significantly restructure torch/aten import design. 2021-05-19 13:37:39 -07:00
func_builder.h Significantly restructure torch/aten import design. 2021-05-19 13:37:39 -07:00
function_importer.cpp Bump llvm-project to 6d263b6f1c97fe6c45c75443e7daf6cd0c1c4222 2021-05-10 18:06:15 -07:00
function_importer.h Basic infra for annotate shapes and dtypes on arguments. 2021-04-01 18:40:03 -07:00
ivalue_importer.cpp Shore up error reporting for TorchScript import. 2021-05-20 11:28:20 -07:00
ivalue_importer.h Add ability to annotate TorchScript classes. 2021-02-25 11:28:34 -08:00
mlir_utils.h Significantly restructure torch/aten import design. 2021-05-19 13:37:39 -07:00
module_builder.cpp Improve diagnostic handler 2021-05-20 11:28:20 -07:00
module_builder.h Add ability to annotate TorchScript classes. 2021-02-25 11:28:34 -08:00
node_importer.cpp Significantly restructure torch/aten import design. 2021-05-19 13:37:39 -07:00
node_importer.h Properly model "derefinement". 2021-03-03 15:09:44 -08:00
op_builder.cpp Add prim::Print and fix prim::CallMethod 2021-02-10 15:15:56 -08:00
op_builder.h Add prim::Print and fix prim::CallMethod 2021-02-10 15:15:56 -08:00
python_bindings.cpp Add recognition/folder/lowering for aten::__is__, aten::ne.int, and aten::dim 2021-04-30 10:57:02 -07:00
torch_to_mlir_utils.cpp Significantly restructure torch/aten import design. 2021-05-19 13:37:39 -07:00
torch_to_mlir_utils.h Significantly restructure torch/aten import design. 2021-05-19 13:37:39 -07:00