code: def keyword_to_itype(k):
      return {"none": None, "int4": int4, "int8": torch.int8}[k]
  
file_path: quanto/examples/vision/image-classification/mnist/quantize_mnist_model.py
imports: import argparse
  import io
  import time
  import torch
  import torch.nn.functional
  from torchvision import datasets, transforms
  from transformers import AutoModel
  from quanto import Calibration, QTensor, freeze, int4, quantize
label_desc: Use image node_id 3 for calling a global function with example usage: keyword_to_itype(k) and returns: dict