code: def double(input_tensor):
      """Double op applies element-wise double to input data."""
      if (
          input_tensor.dtype != dtypes.int32
          and input_tensor.dtype != dtypes.float32
      ):
          raise ValueError(
              "Double op only accept int32 or float32 values."
          )
      return double_op_wrapper.double(input_tensor)
  
imports: from tensorflow.lite.python.testdata import double_op_wrapper
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import load_library
  from tensorflow.python.platform import resource_loader
label_desc: Use image node_id 1 for calling a global function with example usage: double(input_tensor) and returns: double_op_wrapper