class_docstr: Base class for testing proto decoding and encoding ops.
class_docstr_tok: ["Base","class","for","testing","proto","decoding","and","encoding","ops","."]
code: def named_parameters(extension=True):
      parameters = [
          ("defaults", ProtoOpTestBase.defaults_test_case()),
          ("minmax", ProtoOpTestBase.minmax_test_case()),
          ("nested", ProtoOpTestBase.nested_test_case()),
          ("optional", ProtoOpTestBase.optional_test_case()),
          ("promote", ProtoOpTestBase.promote_test_case()),
          ("ragged", ProtoOpTestBase.ragged_test_case()),
          ("shaped_batch", ProtoOpTestBase.shaped_batch_test_case()),
          ("simple", ProtoOpTestBase.simple_test_case()),
      ]
      if extension:
          parameters.append(
              ("extension", ProtoOpTestBase.extension_test_case())
          )
      return parameters
  
file_path: tensorflow-upstream/tensorflow/python/kernel_tests/proto/proto_op_test_base.py
imports: import ctypes
  import os
  from tensorflow.core.framework import types_pb2
  from tensorflow.python.kernel_tests.proto import test_example_pb2
  from tensorflow.python.platform import test
label_desc: Use image node_id 2 for calling the ProtoOpTestBase obj's underlying member method code with example usage: obj.named_parameters(extension) and returns: parameters