code: def _testSoftsign(self, np_features, use_gpu=False):
      np_softsign = self._npSoftsign(np_features)
      with self.cached_session(use_gpu=use_gpu):
          softsign = nn_ops.softsign(np_features)
          tf_softsign = self.evaluate(softsign)
      self.assertAllClose(np_softsign, tf_softsign)
      self.assertShapeEqual(np_softsign, softsign)
  
file_path: tensorflow/tensorflow/python/kernel_tests/nn_ops/softsign_op_test.py
imports: import numpy
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import gradient_checker
  from tensorflow.python.ops import nn_ops
  import tensorflow.python.ops.nn_grad
  from tensorflow.python.platform import test
label_desc: Use image node_id 2 for calling the SoftsignTest obj's underlying member method code with example usage: obj._testSoftsign(np_features, use_gpu) without return types