code: def test_private_child_removal(self):
      visitor = self.TestVisitor()
      children = [("name1", "thing1"), ("_name2", "thing2")]
      public_api.PublicAPIVisitor(visitor)("test", "dummy", children)
      # Make sure the private symbols are removed before the visitor is called.
      self.assertEqual([("name1", "thing1")], visitor.last_children)
      self.assertEqual([("name1", "thing1")], children)
  
imports: from tensorflow.python.platform import googletest
  from tensorflow.tools.common import public_api
label_desc: Use image node_id 2 for calling the PublicApiTest obj's underlying member method code with example usage: obj.test_private_child_removal() without return types