code: def deep_iter(x):
      if isinstance(x, list) or isinstance(x, tuple):
          for u in x:
              for v in deep_iter(u):
                  yield v
      else:
          yield x
  
file_path: sru/classification/modules.py
imports: import sys
  import torch
  import torch.nn
  import torch.nn.functional
label_desc: Use image node_id 1 for calling a global function with example usage: deep_iter(x) without return types