code: def get_input_optimizer(input_img):
      # this line to show that input is a parameter that requires a gradient
      optimizer = optim.LBFGS([input_img.requires_grad_()])
      return optimizer
  
imports: from __future__ import print_function
  import os
  import torch
  import torch.nn
  import torch.nn.functional
  import torch.optim
  from PIL import Image
  import matplotlib.pyplot
  import torchvision.transforms
  import torchvision.models
  import copy
  from clearml import Task
label_desc: Use image node_id 5 for calling a global function with example usage: get_input_optimizer(input_img) and returns: optimizer