code: def _RemovePad(self, msg, base64_msg):
      if len(msg) % 3 == 1:
          return base64_msg[:-2]
      if len(msg) % 3 == 2:
          return base64_msg[:-1]
      return base64_msg
  
file_path: tensorflow/tensorflow/python/kernel_tests/strings_ops/base64_ops_test.py
imports: import base64
  import numpy
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import string_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 2 for calling the Base64OpsTest obj's underlying member method code with example usage: obj._RemovePad(msg, base64_msg) and returns: base64_msg, base64_msg, base64_msg