code: def _default_transform_fn(self, model, content, content_type, accept):
          
          try:
              data = self._input_fn(content, content_type)
          except _errors.UnsupportedFormatError as e:
              return self._error_response(e, http_client.UNSUPPORTED_MEDIA_TYPE)
  
          prediction = self._predict_fn(data, model)
  
          try:
              result = self._output_fn(prediction, accept)
          except _errors.UnsupportedFormatError as e:
              return self._error_response(e, http_client.NOT_ACCEPTABLE)
  
          return result
docs: Make predictions against the model and return a serialized response.
  
          This serves as the default implementation of transform_fn, used when the user has not
          implemented one themselves.
  
          Args:
              model (obj): model loaded by model_fn.
              content: request content.
              content_type (str): the request Content-Type.
              accept (str): accept content-type expected by the client.
  
          Returns:
              sagemaker_containers.beta.framework.worker.Response or tuple:
                  the serialized response data and its content type, either as a Response object or
                  a tuple of the form (response_data, content_type)