code: def dtype_size(dtype):
      size = DTYPE_TO_SIZE.get(dtype, None)
      if size is None:
          raise ValueError(f"Invalid dtype: {dtype}")
      return size
  
imports: from keras import backend
  from keras import ops
label_desc: Use image node_id 1 for calling a global function with example usage: dtype_size(dtype) and returns: size