code: def inflate_voxels(voxels, kernel_size=3):
      """Inflates the occupied voxels in a voxel grid."""
      kernel = [kernel_size, kernel_size, kernel_size]
      voxels = tf.nn.pool(
          voxels, kernel, "MAX", [1, 1, 1], padding="SAME"
      )
      voxels = tf.nn.pool(
          voxels, kernel, "AVG", [1, 1, 1], padding="SAME"
      )
      return voxels
  
imports: import numpy
  import tensorflow
  from tensorflow_graphics.math.interpolation import trilinear
  import tensorflow_graphics.projects.radiance_fields.utils
label_desc: Use image node_id 2 for calling a global function with example usage: inflate_voxels(voxels, kernel_size) and returns: voxels