class_docstr: MNISTDigitClassifier handler class. This handler extends class ImageClassifier from image_classifier.py, a
  default handler. This handler takes image as a tensor and returns the number in that image.
  
  Here method postprocess() has been overridden while others are reused from parent class.
docstr: The post process of MNIST converts the predicted output response to a label.
  
  Args:
      data (list): The predicted output from the Inference with probabilities is passed
      to the post-process function
  Returns:
      list : A list of dictionaries with predictions and explanations is returned
code: def postprocess(self, data):
      """The post process of MNIST converts the predicted output response to a label.
  
      Args:
          data (list): The predicted output from the Inference with probabilities is passed
          to the post-process function
      Returns:
          list : A list of dictionaries with predictions and explanations is returned
      """
      return data.argmax(1).tolist()
  
file_path: serve/examples/image_classifier/mnist/torchdata/mnist_handler.py
imports: import numpy
  import torch
  from torch.profiler import ProfilerActivity
  from torchvision import transforms
  from ts.torch_handler.image_classifier import ImageClassifier
label_desc: Use image node_id 3 for calling the MNISTDigitClassifier obj's underlying member method code with example usage: obj.postprocess(data) and returns: data