code: def convert_color(in_image, mode):
      """Convert image color with provided `mode`."""
      return in_image.convert(mode)
  
imports: from __future__ import division, print_function, absolute_import
  import os
  import random
  import numpy
  from PIL import Image
  import pickle
  import csv
  import warnings
  import tensorflow.compat.v1
  from io import BytesIO
label_desc: Use image node_id 13 for calling a global function with example usage: convert_color(in_image, mode) and returns: in_image