code: def softmax(x):
      f_x = np.exp(x) / np.sum(np.exp(x))
      return f_x
  
imports: import os
  import yaml
  import glob
  import cv2
  import numpy
  import math
  import paddle
  import sys
  import paddle.nn.functional
  from paddle.inference import Config, create_predictor
  from python.utils import argsparser, Timer, get_current_memory_mb
  from python.benchmark_utils import PaddleInferBenchmark
  from python.infer import Detector, print_arguments
  from video_action_preprocess import VideoDecoder, Sampler, Scale, CenterCrop, Normalization, Image2Array
label_desc: Use image node_id 1 for calling a global function with example usage: softmax(x) and returns: f_x