code: def get_weak_tensor(*args, **kwargs):
      return WeakTensor.from_tensor(
          constant_op.constant(*args, **kwargs)
      )
  
file_path: tensorflow/tensorflow/python/ops/weak_tensor_test_util.py
imports: import numpy
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework.weak_tensor import WeakTensor
label_desc: Use image node_id 3 for calling a global function with example usage: get_weak_tensor() and returns: WeakTensor