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
Our scraped stub for np.zeros returns Any (as it's compiled and we don't guess), hence the color difference. Numpy's next version will have this return type fixed.
source code:
import numpy as np
with np.load("A") as T:
x = T["c"]
print(f" x.shape: {x.shape}")
x = np.zeros((2, 2, 2))
print(f" x.shape: {x.shape}")
Environment data
Expected behaviour
"shape" in both print are of same color
Actual behaviour
"shape" displayed in different colors (see snapshot)
Logs
Code Snippet / Additional information
XXX
The text was updated successfully, but these errors were encountered: