Skip to content

Conversation

@zboszor
Copy link

@zboszor zboszor commented Apr 5, 2023

See deprecated type aliases

I chose to use base types instead of using the renamed aliases in order to stay compatible with older numpy and python versions:

np.float -> float
np.int -> int
np.bool -> bool

These numpy types were simply aliases of the base python types.

Explicitly sized types like float32 and float64 were left alone.

zboszor added 3 commits April 5, 2023 09:18
See https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
See https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
See https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
@lightfate
Copy link

ChatGPT コードレビュー: collect" />

分析できませんでした

@lauraslopes
Copy link

@ifzhang check this pull request out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants