micropython-ulab/tests/2d/numpy/methods.py.exp

31 lines
753 B
Text

array([1, 2, 3, 4], dtype=int8)
array([[1, 2, 3],
[4, 5, 6],
[7, 8, 9]], dtype=int16)
array([[1.0, 2.0, 3.0],
[4.0, 5.0, 6.0],
[7.0, 8.0, 9.0]], dtype=float64)
100
array([1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0], dtype=float64)
1
2
1
2
8
(3,)
(3, 1)
array([[1.0, 2.0, 3.0]], dtype=float64)
3
3
bytearray(b'\x01\x02\x03')
bytearray(b'\x01\x02\x03')
(3,)
(1, 3)
array([1, 2, 3, 4, 5, 6], dtype=uint8)
array([1, 2, 3, 4, 5, 6], dtype=uint8)
array([1, 2, 3, 4, 5, 6], dtype=uint8)
array([1, 2, 3, 4, 5, 6], dtype=uint8)
array([1, 2, 3, 4, 5, 6], dtype=uint16)
array([256, 512, 768, 1024, 1280, 1536], dtype=uint16)
array([256, 512, 768, 1024, 1280, 1536], dtype=uint16)
array([256, 512, 768, 1024, 1280, 1536], dtype=uint16)