code: def test_nan_clear_good_step(self, strategy_fn):
      with strategy_fn().scope():
          inputs = [True, True, True, False, True]
          expected_outputs = [1, 2, 2, 1, 1]
          self._test_helper(inputs, expected_outputs)
  
imports: from absl.testing import parameterized
  import numpy
  from tensorflow.python.data.ops import dataset_ops
  from tensorflow.python.distribute import distribute_lib
  from tensorflow.python.distribute import mirrored_strategy
  from tensorflow.python.eager import context
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import check_ops
  from tensorflow.python.ops import cond
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.platform import test
  from tensorflow.python.training.experimental import loss_scale
label_desc: Use image node_id 7 for calling the DynamicLossScaleTest obj's underlying member method code with example usage: obj.test_nan_clear_good_step(strategy_fn) without return types