class_docstr: Deserialize RecordIO Protobuf data from an inference endpoint.
class_docstr_tok: ["Deserialize","RecordIO","Protobuf","data","from","an","inference","endpoint","."]
docstr: Initialize a ``RecordDeserializer`` instance.
  
  Args:
      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").
docstr_tok: ["Initialize","a","``","RecordDeserializer","``","instance",".","Args",":","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","''",")","."]
code: def __init__(self, accept="application/x-recordio-protobuf"):
      """Initialize a ``RecordDeserializer`` instance.
  
      Args:
          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").
      """
      super(RecordDeserializer, self).__init__(accept=accept)
  
imports: from __future__ import absolute_import
  import io
  import logging
  import struct
  import sys
  import numpy
  from sagemaker.amazon.record_pb2 import Record
  from sagemaker.deprecations import deprecated_class
  from sagemaker.deserializers import SimpleBaseDeserializer
  from sagemaker.serializers import SimpleBaseSerializer
  from sagemaker.utils import DeferredError
label_desc: Use image node_id 1 to create a new RecordDeserializer object from inherited base classes: SimpleBaseDeserializer with example: obj = RecordDeserializer(accept)