code: def testName(self):
      values = _get_weak_tensor(
          np.array([-2, -1, 0, 1, 2], dtype=np.float64)
      )
      outputs_with_name_set = nn_ops.leaky_relu(
          values, name="test_relu_op"
      )
      self.assertEqual(outputs_with_name_set.name, "test_relu_op:0")
      self.assertIsInstance(
          outputs_with_name_set, weak_tensor.WeakTensor
      )
  
      outputs_without_name_set = nn_ops.leaky_relu(values)
      self.assertEqual(outputs_without_name_set.name, "LeakyRelu:0")
      self.assertIsInstance(
          outputs_without_name_set, weak_tensor.WeakTensor
      )
  
imports: from absl.testing import parameterized
  import numpy
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.framework import weak_tensor
  from tensorflow.python.ops import gradient_checker_v2
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import nn_impl
  from tensorflow.python.ops import nn_ops
  from tensorflow.python.ops import weak_tensor_ops
  from tensorflow.python.ops import weak_tensor_test_util
  import tensorflow.python.ops.nn_grad
  from tensorflow.python.platform import test
label_desc: Use image node_id 3 for calling the LeakyReluTest obj's underlying member method code with example usage: obj.testName() without return types