code: def save_image(data, file, normalize=True, img_range=None):
      if img_range is None:
          img_range = [min(data), max(data)]
  
      norm_img = normalize_image(data, img_range[0], img_range[1])
      img = (
          nd.clip(norm_img * 255 + 0.5, 0, 255)
          .asnumpy()
          .astype(np.uint8)
      )
  
      img = Image.fromarray(np.transpose(img, (1, 2, 0)))
      img.save(file)
  
file_path: gluon-cv/scripts/gan/stylegan/demo_stylegan.py
imports: import argparse
  import math
  import os
  import numpy
  from tqdm import tqdm
  from PIL import Image
  import mxnet
  import mxnet.ndarray
  from model import StyledGenerator
label_desc: Use image node_id 4 for calling a global function with example usage: save_image(data, file, normalize, img_range) without return types