Closed mmenendezg closed 3 months ago
Add the option to initialize a NDArray with random values between min and max values with the following syntax:
import numojo as nm fn main() raises: var A = nm.NDArray[DType.float16](List[Int](2, 2), min=0.0, max=10.0) print(A)
[Output]:
[[ 7.515625 8.25 ] [ 7.53125 3.19140625 ]] 2-D array Shape: [2, 2] DType: float16
Add the option to initialize a NDArray with random values between min and max values with the following syntax:
[Output]: