hyb
2025-11-04 668edf874b4f77214a8ff4513e60e3c1a973f532
1
2
3
4
5
import numpy as np
 
with open("file.txt", "r") as f:
    np.memmap(f)  # type: ignore[call-overload]
np.memmap("test.txt", shape=[10, 5])  # type: ignore[call-overload]