RecordDeserializer | R Documentation |
Deserialize RecordIO Protobuf data from an inference endpoint.
sagemaker.mlcore::BaseDeserializer
-> sagemaker.mlcore::SimpleBaseDeserializer
-> RecordDeserializer
new()
Intialize RecordDeserializer class
RecordDeserializer$new(accept = "application/x-recordio-protobuf")
accept
(union[str, tuple[str]]): The MIME type (or tuple of allowable MIME types) that is expected from the inference endpoint (default: "application/x-recordio-protobuf").
deserializer()
Deserialize RecordIO Protobuf data from an inference endpoint.
RecordDeserializer$deserializer(data, content_type)
data
(object): The protobuf message to deserialize.
content_type
(str): The MIME type of the data.
list: A list of records.
clone()
The objects of this class are cloneable with this method.
RecordDeserializer$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.