From 7baf7fd3c6e8035472923acae2b5efdcb7e133ff Mon Sep 17 00:00:00 2001 From: Lutz Roeder Date: Fri, 9 Dec 2022 18:20:54 -0800 Subject: [PATCH] Update backend test (#990) --- test/backend.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/backend.py b/test/backend.py index cecb2bc6d9..31a8e70775 100755 --- a/test/backend.py +++ b/test/backend.py @@ -45,6 +45,7 @@ def _test_torchscript(): # graph, _ = torch.jit._get_trace_graph(model, args) # pylint: disable=protected-access # torch.onnx._optimize_trace(graph, torch.onnx.OperatorExportTypes.ONNX) # trace = torch.load(os.path.join(test_data_dir, 'pytorch', 'fasterrcnn_resnet50_fpn.pt')) + # trace = torch.load(os.path.join(test_data_dir, 'pytorch', 'mobilenetv2-quant_full-nnapi.pt')) torch._C._jit_pass_inline(trace.graph) # https://github.com/pytorch/pytorch/blob/master/torch/csrc/jit/ir/ir.h netron.serve('resnet34', trace)