Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 424 Bytes

File metadata and controls

28 lines (20 loc) · 424 Bytes

GPUtils API

Installation

As simple as...

pip install gputils-api

of course, preferably from within a virtual environment.

Write to file

import numpy as np
import gputils_api as g
a = np.eye(3)
g.write_array_to_gputils_binary_file(a, 'my_data.bt')

Read from file

import numpy as np
import gputils_api as g
x = g.read_array_from_gputils_binary_file('my_data.bt')