hyb
2025-12-30 5e753a15ff53faab2261a53367e44d38caf87041
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]