hyb
2025-10-24 6861b499efcd43195796ee314c96124b34d1a327
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]