Files
pytorch/test/jit
David Berard cead0363a8 [jit][nested strided tensor] support nested tensor in check_trace (#121039)
Summary:
torch.testing.assert_equal doesn't support nested strided tensors because sizes is not implemented.

This adds special handling for nested tensors by checking for nested tensors unbinding if they are found.

Test Plan: test_trace_with_nested_strided_tensor_output

Differential Revision: D54430238

Pull Request resolved: https://github.com/pytorch/pytorch/pull/121039
Approved by: https://github.com/YuqingJ
2024-03-04 01:15:45 +00:00
..
2023-02-07 14:58:57 +00:00
2023-03-07 18:30:27 +00:00