code: def decode_predictions(preds):
      fpath = cache_path.joinpath(
          "data/dataset/imagenet_index_path.json"
      )
      with open(fpath, encoding="ascii") as f:
          class_index = json.load(f)
  
      results = tuple(class_index[str(preds)])[1]
      return results
  
file_path: towhee/tests/unittests/mock_operators/pytorch_image_classification_operator/pytorch_image_classification_operator.py
imports: import json
  import numpy
  import torch
  from typing import NamedTuple
  from pathlib import Path
  import torchvision
  from towhee.operator import Operator
label_desc: Use image node_id 1 for calling a global function with example usage: decode_predictions(preds) and returns: results