SimpleBaseDeserializer | R Documentation |
This class extends the API of BaseDeserializer
with more
user-friendly options for setting the ACCEPT content type header,
in situations where it can be provided at init and freely updated.
sagemaker.mlcore::BaseDeserializer
-> SimpleBaseDeserializer
accept
The MIME type that is expected from the inference endpoint
ACCEPT
The tuple of possible content types that are expected from the inference endpoint.
new()
Initialize a “SimpleBaseDeserializer“ instance.
SimpleBaseDeserializer$new(accept = "*/*")
accept
(union[str, tuple[str]]): The MIME type (or tuple of allowable MIME types) that is expected from the inference endpoint (default: "*/*").
clone()
The objects of this class are cloneable with this method.
SimpleBaseDeserializer$clone(deep = FALSE)
deep
Whether to make a deep clone.
Other serializer:
BaseDeserializer
,
BaseSerializer
,
BytesDeserializer
,
CSVDeserializer
,
CSVSerializer
,
DataTableDeserializer
,
IdentitySerializer
,
JSONDeserializer
,
JSONLinesDeserializer
,
JSONLinesSerializer
,
JSONSerializer
,
LibSVMSerializer
,
NumpyDeserializer
,
NumpySerializer
,
SimpleBaseSerializer
,
SparseMatrixSerializer
,
StringDeserializer
,
TibbleDeserializer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.