code: def cond_cast_unet(input):
      return input.to(dtype_unet) if unet_needs_upcast else input
  
imports: import sys
  import contextlib
  from functools import lru_cache
  import torch
  from modules import errors, shared
label_desc: Use image node_id 9 for calling a global function with example usage: cond_cast_unet(input) and returns: unknown