SIGN IN SIGN UP

Add extra checks for the provided dim order and strides. (#5377)

Summary:
Pull Request resolved: https://github.com/pytorch/executorch/pull/5377

Also make sure the scalar tensors stay static.

Reviewed By: kirklandsign

Differential Revision: D62681004

fbshipit-source-id: 57e035bcc5d9a4ffb2571144d7b3ed72ff84b193
A
Anthony Shoumikhin committed
0a501ebad2d1bab3ff9c4f921fd500e6544eddaa
Parent: ef31608
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> on 9/16/2024, 5:13:25 PM