code: def normalize(train_x, val_x):
      mean = [0.4914, 0.4822, 0.4465]
      std = [0.2023, 0.1994, 0.2010]
      train_x /= 255
      val_x /= 255
      for ch in range(0, 2):
          train_x[:, ch, :, :] -= mean[ch]
          train_x[:, ch, :, :] /= std[ch]
          val_x[:, ch, :, :] -= mean[ch]
          val_x[:, ch, :, :] /= std[ch]
      return train_x, val_x
  
file_path: singa/examples/model_selection/TRAILS-Database-Native-Model-Selection/internal/ml/model_selection/src/eva_engine/phase1/algo/singa_ms/cnn_ms/data/cifar100.py
imports: import numpy
  import os
  import sys
label_desc: Use image node_id 5 for calling a global function with example usage: normalize(train_x, val_x) and returns: train_x,  val_x