sagemaker.core.serializers.utils#

Placeholder docstring

Functions

read_recordio(f)

Placeholder Docstring

read_records(file)

Eagerly read a collection of amazon Record protobuf objects from file.

write_numpy_to_dense_tensor(file, array[, ...])

Writes a numpy array to a dense tensor

write_spmatrix_to_sparse_tensor(file, array)

Writes a scipy sparse matrix to a sparse tensor

sagemaker.core.serializers.utils.read_recordio(f)[source]#

Placeholder Docstring

sagemaker.core.serializers.utils.read_records(file)[source]#

Eagerly read a collection of amazon Record protobuf objects from file.

Parameters:

file

sagemaker.core.serializers.utils.write_numpy_to_dense_tensor(file, array, labels=None)[source]#

Writes a numpy array to a dense tensor

Parameters:
  • file

  • array

  • labels

sagemaker.core.serializers.utils.write_spmatrix_to_sparse_tensor(file, array, labels=None)[source]#

Writes a scipy sparse matrix to a sparse tensor

Parameters:
  • file

  • array

  • labels