code: def convert_float_to_uint16(array, min_val, max_val):
      return np.round(
          (array - min_val) / (max_val - min_val) * 65535
      ).astype(np.uint16)
  
imports: import dataclasses
  import json
  import logging
  import imageio
  import numpy
  import png
  import tensorflow
  import tensorflow_datasets.public_api
  from typing import List, Dict, Union
label_desc: Use image node_id 9 for calling a global function with example usage: convert_float_to_uint16(array, min_val, max_val) and returns: np