code: def _return_saturate_value(is_negative=False, dtype=dtypes.int32):
      if dtype is dtypes.int32:
          if is_negative:
              return -(2**31)
          return 2**31 - 1
      if dtype is dtypes.int16:
          if is_negative:
              return -(2**15)
          return 2**15 - 1
      if dtype is dtypes.int8:
          if is_negative:
              return -(2**7)
          return 2**7 - 1
  
file_path: tensorflow/tensorflow/compiler/tests/stochastic_cast_op_test.py
imports: import math
  from absl.testing import parameterized
  from tensorflow.compiler.tests import xla_test
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.ops import stochastic_cast_op
  from tensorflow.python.platform import test
label_desc: Use image node_id 2 for calling a global function with example usage: _return_saturate_value(is_negative, dtype) and returns: unknown, unknown, unknown, unknown, unknown, unknown