code: def import_numpy():
      global np
      if np is None:
          try:
              import numpy as np
          except ImportError:
              raise RuntimeError(
                  "Could not import numpy. Numpy is required for "
                  "Tensor and TensorList printing. "
                  "Please make sure you have numpy installed."
              )
  
imports: from nvidia.dali.backend import TensorCPU, TensorListCPU, TensorGPU, TensorListGPU
label_desc: Use image node_id 3 for calling a global function with example usage: import_numpy() without return types