turicreate.load_sarray¶
-
turicreate.
load_sarray
(filename)¶ Load an SArray. The filename extension is used to determine the format automatically. This function is particurly useful for SArrays previously saved in binary format. If the SArray is in binary format,
filename
is actually a directory, created when the SArray is saved.Returns: - out : SArray
See also
Examples
>>> sa = turicreate.SArray(data=[1,2,3,4,5]) >>> sa.save('./my_sarray') >>> sa_loaded = turicreate.load_sarray('./my_sarray')