BaseDeserializer: Default BaseDeserializer Class

BaseDeserializerR Documentation

Default BaseDeserializer Class

Description

All BaseDeserializer are children of this class. If a custom BaseDeserializer is desired, inherit this class.

Active bindings

ACCEPT

The content types that are expected from the inference endpoint.

Methods

Public methods


Method deserialize()

Deserialize data received from an inference endpoint.

Usage
BaseDeserializer$deserialize(stream, content_type)
Arguments
stream

(botocore.response.StreamingBody): Data to be deserialized.

content_type

(str): The MIME type of the data.

Returns

object: The data deserialized into an object.


Method format()

format class

Usage
BaseDeserializer$format()

Method clone()

The objects of this class are cloneable with this method.

Usage
BaseDeserializer$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

See Also

Other serializer: BaseSerializer, BytesDeserializer, CSVDeserializer, CSVSerializer, DataTableDeserializer, IdentitySerializer, JSONDeserializer, JSONLinesDeserializer, JSONLinesSerializer, JSONSerializer, LibSVMSerializer, NumpyDeserializer, NumpySerializer, SimpleBaseDeserializer, SimpleBaseSerializer, SparseMatrixSerializer, StringDeserializer, TibbleDeserializer


DyfanJones/sagemaker-r-mlcore documentation built on May 3, 2022, 10:08 a.m.