-
Notifications
You must be signed in to change notification settings - Fork 25.7k
Closed
Labels
module: numpyRelated to numpy support, and also numpy compatibility of our operatorsRelated to numpy support, and also numpy compatibility of our operatorsmodule: testsIssues related to tests (not the torch.testing module)Issues related to tests (not the torch.testing module)triagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
Description
🚀 Feature
torch.meshgrid gets an OpInfo test.
Motivation
OpInfo tests are clearly important, especially for operators that have a NumPy/SciPy reference implementation. In particular, we want to enforce compatibility with the NumPy implementation (see #50276).
Pitch
Add an OpInfo test that, among other things, enforces NumPy compatibility.
Alternatives
None: this test is important.
Additional context
This operation is also part of the Python Array API proposal: https://data-apis.org/array-api/latest/API_specification/creation_functions.html#meshgrid-arrays-indexing-xy.
cc @mruberry @rgommers @heitorschueroff @VitalyFedyunin @walterddr
Metadata
Metadata
Assignees
Labels
module: numpyRelated to numpy support, and also numpy compatibility of our operatorsRelated to numpy support, and also numpy compatibility of our operatorsmodule: testsIssues related to tests (not the torch.testing module)Issues related to tests (not the torch.testing module)triagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module