Closed igorsugak closed 1 month ago
This pull request was exported from Phabricator. Differential Revision: D64619891
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 99.98%. Comparing base (
d2c6f5e
) to head (361e730
). Report is 1 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This pull request has been merged in pytorch/botorch@748672a10e3546e0d97493851e7caa679af27632.
Summary: X-link: https://github.com/pytorch/audio/pull/3846
X-link: https://github.com/pytorch/opacus/pull/680 X-link: https://github.com/pytorch/captum/pull/1387 X-link: https://github.com/pytorch/audio/pull/3845
This replaces uses of
numpy.ndarray
in type annotations withnumpy.typing.NDArray
. In Numpy-1.24.0+numpy.ndarray
is annotated as generic type. Without template parameters it triggers static analysis errors:numpy.typing.NDArray
is an alias that provides default template parameters.Differential Revision: D64619891