class_docstr: Base class for testing proto decoding ops.
code: def testSanitizerGood(self, case):
      batch = [value.SerializeToString() for value in case.values]
      self._runDecodeProtoTests(
          case.fields,
          case.sizes,
          list(case.shapes),
          batch,
          "tensorflow.contrib.proto.TestValue",
          "binary",
          sanitize=True,
      )
  
imports: import itertools
  from absl.testing import parameterized
  import numpy
  from google.protobuf import text_format
  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
label_desc: Use image node_id 9 for calling the DecodeProtoOpTestBase obj's underlying member method code with example usage: obj.testSanitizerGood(case) without return types