1 Matching Annotations
- Oct 2017
-
cs231n.github.io cs231n.github.io
-
c = np.full((2,2), 7) # Create a constant array print(c)
To avoid the warning, use
np.full((2,2), 7.) or use explicitly for float np.full((2,2),7, dtype=float) or for int np.full((2,2),7, dtype=int)
-