code: def checkerboard(h, w, size=8):
      """Creates a checkerboard pattern with height h and width w."""
      i = int(math.ceil(h / (size * 2)))
      j = int(math.ceil(w / (size * 2)))
      pattern = np.kron(
          [[1, 0] * j, [0, 1] * j] * i, np.ones((size, size))
      )[:h, :w]
      return np.clip(pattern + 0.8, 0.0, 1.0)
  
imports: import math
  from typing import Tuple
  from absl import logging
  import cv2
  import imageio
  import numpy
  from PIL import Image
  from nerfies import gpath
  from nerfies import types
label_desc: Use image node_id 14 for calling a global function with example usage: checkerboard(h, w, size) and returns: np