class_docstr: Automatically detects the serializer and deserializer for your model.
  
  This is done by inspecting the `sample_input` and `sample_output` object.
  Alternatively, provide your custom serializer and deserializer
  for your request or response by creating a class that inherits
  ``CustomPayloadTranslator`` and provide it to ``SchemaBuilder``.
  
  Args:
     sample_input (object): Sample input to the model which can be used
         for testing. The schema builder internally generates the content
         type and corresponding serializing functions.
     sample_output (object): Sample output to the model which can be
         used for testing. The schema builder internally generates
         the accept type and corresponding serializing functions.
     input_translator (Optional[CustomPayloadTranslator]): If you
         want to define your own serialization method for the payload,
         you can implement your functions for translation.
     output_translator (Optional[CustomPayloadTranslator]): If
         you want to define your own serialization method for the output,
         you can implement your functions for translation.
class_docstr_tok: ["Automatically","detects","the","serializer","and","deserializer","for","your","model",".","This","is","done","by","inspecting","the","`","sample_input","`","and","`","sample_output","`","object",".","Alternatively",",","provide","your","custom","serializer","and","deserializer","for","your","request","or","response","by","creating","a","class","that","inherits","``","CustomPayloadTranslator","``","and","provide","it","to","``","SchemaBuilder","``",".","Args",":","sample_input","(","object",")",":","Sample","input","to","the","model","which","can","be","used","for","testing",".","The","schema","builder","internally","generates","the","content","type","and","corresponding","serializing","functions",".","sample_output","(","object",")",":","Sample","output","to","the","model","which","can","be","used","for","testing",".","The","schema","builder","internally","generates","the","accept","type","and","corresponding","serializing","functions",".","input_translator","(","Optional","[","CustomPayloadTranslator","]",")",":","If","you","want","to","define","your","own","serialization","method","for","the","payload",",","you","can","implement","your","functions","for","translation",".","output_translator","(","Optional","[","CustomPayloadTranslator","]",")",":","If","you","want","to","define","your","own","serialization","method","for","the","output",",","you","can","implement","your","functions","for","translation","."]
docstr: Get input sample for the schema builder
docstr_tok: ["Get","input","sample","for","the","schema","builder"]
code: def get_input_sample(self) -> object:
      """Get input sample for the schema builder"""
      return self.sample_input
  
imports: from __future__ import absolute_import
  import io
  import logging
  from pathlib import Path
  import numpy
  from pandas import DataFrame
  from sagemaker.deserializers import BaseDeserializer, BytesDeserializer, NumpyDeserializer, JSONDeserializer, PandasDeserializer, TorchTensorDeserializer, StringDeserializer
  from sagemaker.serializers import DataSerializer, NumpySerializer, JSONSerializer, CSVSerializer, TorchTensorSerializer, StringSerializer
  from sagemaker.serve.marshalling.custom_payload_translator import CustomPayloadTranslator
  from sagemaker.serve.builder.triton_schema_builder import TritonSchemaBuilder
label_desc: Use image node_id 7 for calling the SchemaBuilder obj's underlying member method code with example usage: obj.get_input_sample() and returns: self