class_docstr: Test cases for tf.strings.strip.
code: def test_string_strip_2d(self):
      strings = [
          ["pigs on the wing", "animals"],
          [" hello ", "\n\tworld \r \n"],
      ]
  
      with self.cached_session() as sess:
          output = string_ops.string_strip(strings)
          output = self.evaluate(output)
          self.assertAllEqual(
              output,
              [[b"pigs on the wing", b"animals"], [b"hello", b"world"]],
          )
  
imports: from tensorflow.python.ops import string_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 2 for calling the StringStripOpTest obj's underlying member method code with example usage: obj.test_string_strip_2d() without return types