class_docstr: Base class for testing proto encoding ops.
class_docstr_tok: ["Base","class","for","testing","proto","encoding","ops","."]
docstr: EncodeProtoOpTestBase initializer.
  
  Args:
    decode_module: a module containing the `decode_proto_op` method
    encode_module: a module containing  the `encode_proto_op` method
    methodName: the name of the test method (same as for test.TestCase)
docstr_tok: ["EncodeProtoOpTestBase","initializer",".","Args",":","decode_module",":","a","module","containing","the","`","decode_proto_op","`","method","encode_module",":","a","module","containing","the","`","encode_proto_op","`","method","methodName",":","the","name","of","the","test","method","(","same","as","for","test.TestCase",")"]
code: def __init__(
      self, decode_module, encode_module, methodName="runTest"
  ):  # pylint: disable=invalid-name
      """EncodeProtoOpTestBase initializer.
  
      Args:
        decode_module: a module containing the `decode_proto_op` method
        encode_module: a module containing  the `encode_proto_op` method
        methodName: the name of the test method (same as for test.TestCase)
      """
  
      super(EncodeProtoOpTestBase, self).__init__(methodName)
      self._decode_module = decode_module
      self._encode_module = encode_module
  
file_path: tensorflow/tensorflow/python/kernel_tests/proto/encode_proto_op_test_base.py
imports: from absl.testing import parameterized
  import numpy
  from google.protobuf import text_format
  from tensorflow.python.eager import context
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.kernel_tests.proto import proto_op_test_base
  from tensorflow.python.kernel_tests.proto import test_example_pb2
  from tensorflow.python.ops import array_ops
label_desc: Use image node_id 1 to create a new EncodeProtoOpTestBase object from inherited base classes: test_base, parameterized with example: obj = EncodeProtoOpTestBase(decode_module, encode_module, methodName)