code: def cond_cast_float(input):
      return input.float() 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 10 for calling a global function with example usage: cond_cast_float(input) and returns: unknown