code: def _validate_marshalling_function(schema_builder: SchemaBuilder):
      """Invoke serializer and deserializer to validate the payload"""
      # Validate sample_input
      b = schema_builder.input_serializer.serialize(
          schema_builder.sample_input
      )
      stream = BytesIO(b)
      schema_builder.input_deserializer.deserialize(stream=stream)
  
      # Validate sample_output
      b = schema_builder.output_serializer.serialize(
          schema_builder.sample_output
      )
      stream = BytesIO(b)
      schema_builder.output_deserializer.deserialize(stream=stream)
  
imports: from __future__ import absolute_import
  import pytest
  from io import BytesIO
  from typing import IO
  import numpy
  from pandas import DataFrame
  from sagemaker.serve import SchemaBuilder, CustomPayloadTranslator
  from sagemaker.serve.builder.schema_builder import JSONSerializerWrapper, CSVSerializerWrapper
  from sagemaker.deserializers import BytesDeserializer, NumpyDeserializer, JSONDeserializer, PandasDeserializer
  from sagemaker.serializers import DataSerializer, NumpySerializer
label_desc: Use image node_id 14 for calling a global function with example usage: _validate_marshalling_function(schema_builder) without return types