MCPcopy Create free account
hub / github.com/RoboVerseOrg/RoboVerse / _npbytes

Function _npbytes

scripts/trajectory_simpler_env.py:179–182  ·  view source on GitHub ↗
(arr)

Source from the content-addressed store, hash-verified

177
178
179def _npbytes(arr):
180 buf = io.BytesIO()
181 np.save(buf, arr)
182 return buf.getvalue()
183
184
185def _save_npz(traj, path):

Callers 1

op_replayFunction · 0.85

Calls 1

saveMethod · 0.45

Tested by

no test coverage detected