code: def set_framework_dependencies(x):
      if type(x) is numpy.ndarray:
          to_dtype = lambda a: a
          fw = numpy
      else:
          to_dtype = lambda a: paddle.cast(a, x.dtype)
          fw = paddle
      # eps = fw.finfo(fw.float32).eps
      eps = paddle.to_tensor(np.finfo(np.float32).eps)
      return fw, to_dtype, eps
  
imports: from math import pi
label_desc: Use image node_id 1 for calling a global function with example usage: set_framework_dependencies(x) and returns: fw,  to_dtype,  eps