code: def default(val, default):
      return val if exists(val) else default
  
imports: import copy
  import random
  from functools import wraps, partial
  import torch
  from torch import nn
  import torch.nn.functional
  from torchvision import transforms
label_desc: Use image node_id 2 for calling a global function with example usage: default(val, default) and returns: unknown