class_docstr: Base class for op benchmarks.
docstr: Returns the calling method name.
docstr_tok: ["Returns","the","calling","method","name","."]
code: def _get_method_name(self):
      """Returns the calling method name."""
  
      # Find the caller method (outermost Benchmark class)
      stack = tf_inspect.stack()
      name = None
      for frame in stack[::-1]:
          f_locals = frame[0].f_locals
          f_self = f_locals.get("self", None)
          if isinstance(f_self, tf.test.Benchmark):
              name = frame[3]
              break
      if name is None:
          raise ValueError("Unable to determine the method name.")
  
      return name
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import time
  import tensorflow
  import tensorflow_datasets
  from tensorflow.python.client import session
  from tensorflow.python.data.ops import dataset_ops
  from tensorflow.python.eager import context
  from tensorflow.python.eager import def_function
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import tensor_shape
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import lookup_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.ops.ragged import ragged_tensor
  from tensorflow_text.python import ops
  from tensorflow.python.util import tf_inspect
label_desc: Use image node_id 2 for calling the OpsBaseBenchmark obj's underlying member method code with example usage: obj._get_method_name() and returns: name