Closed copybara-service[bot] closed 1 year ago
[NumPy] Fix uses of deprecated multidimensional NumPy indexing with a non-tuple index.
NumPy 1.23 removes support for non-tuple indexing of NumPy arrays (https://numpy.org/devdocs/release/1.23.0-notes.html#expired-deprecations). The workaround is to convert multidimensional indices to a tuple.
[NumPy] Fix uses of deprecated multidimensional NumPy indexing with a non-tuple index.
NumPy 1.23 removes support for non-tuple indexing of NumPy arrays (https://numpy.org/devdocs/release/1.23.0-notes.html#expired-deprecations). The workaround is to convert multidimensional indices to a tuple.