Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AIS-SNU/Smart-Infinity
/ write_longs
Function
write_longs
DeepSpeedExample/megatron/data/indexed_dataset.py:88–89 ·
view source on GitHub ↗
(f, a)
Source
from the content-addressed store, hash-verified
86
87
88
def
write_longs(f, a):
89
f.write(np.array(a, dtype=np.int64))
90
91
92
dtypes = {
Callers
1
finalize
Method · 0.70
Calls
1
write
Method · 0.45
Tested by
no test coverage detected