pytorch-pfn-extras icon indicating copy to clipboard operation
pytorch-pfn-extras copied to clipboard

Add export_testcase to support length 1 arrays and lists

Open impactaky opened this issue 8 months ago • 0 comments

Problem

The output allows a tuple or list of length 1, but not input.

Reproduction

checkout 8defb94d093be26ccec2af3d4dc41d0c4c4283d0 and run

pytest tests/pytorch_pfn_extras_tests/onnx_tests/test_export_testcase.py -k test_export_tuple_input

This PR

Add processing equivalent to output to input.

impactaky avatar Jul 01 '24 06:07 impactaky