code: def _float_feature(value):
      """Returns a float_list from a float / double."""
      if not isinstance(value, list):
          value = [value]
      return tf.train.Feature(
          float_list=tf.train.FloatList(value=value)
      )
  
file_path: graphics/tensorflow_graphics/projects/radiance_fields/data_loaders.py
imports: import json
  import os
  from typing import Optional
  import numpy
  from PIL import Image
  import tensorflow
label_desc: Use image node_id 3 for calling a global function with example usage: _float_feature(value) and returns: tf