You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Numpy array astype accepts casting parameter to control what kind of data casting may occur. It can be used to catch unintended and/or undesirable casting (e.g. truncating cast of float to int). Nanobind uses the default "unsafe". It would be great if we can add control on the kind of casting other than just no-convert and unsafe-convert.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Numpy array
astypeacceptscastingparameter to control what kind of data casting may occur. It can be used to catch unintended and/or undesirable casting (e.g. truncating cast of float to int). Nanobind uses the default "unsafe". It would be great if we can add control on the kind of casting other than just no-convert and unsafe-convert.Beta Was this translation helpful? Give feedback.
All reactions