code: def _flushDenormalsTest(self, dtypes):
      if (
          platform.machine() == "ppc64le"
          or platform.machine() == "s390x"
          or platform.machine() == "aarch64"
      ):
          # Disabled denormal_test on power/s390x/aarch64 platform
          # Check relevant discussion -
          # https://github.com/tensorflow/tensorflow/issues/11902
          return
      for dtype in dtypes:
          tiny = np.finfo(dtype).tiny
          # Small shape to test main thread, large shape to test thread pool
          for shape in (), (1 << 20,):
              flush = 0.1 * constant_op.constant(tiny, shape=shape)
              self.assertAllEqual(self.evaluate(flush), np.zeros(shape))
              # Make sure the flags don't leak out
              self.testPythonHasDenormals()
  
file_path: tensorflow-upstream/tensorflow/python/kernel_tests/array_ops/denormal_test.py
imports: import os
  import platform
  import numpy
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import test_util
  from tensorflow.python.platform import test
label_desc: Use image node_id 2 for calling the DenormalTest obj's underlying member method code with example usage: obj._flushDenormalsTest(dtypes) without return types