blob: 474f5185e098fdd5482c2af1d7cf6b1cc9a8398f (
plain)
1
2
3
4
5
6
7
8
9
|
try:
from ulab import numpy as np
except:
import numpy as np
dtypes = (np.uint8, np.int8, np.uint16, np.int16, np.float)
for dtype in dtypes:
print(np.full((2, 4), 3, dtype=dtype))
|