code: def _ToCamelCase(name):
      """Converts name to camel-case and returns it."""
      capitalize_next = False
      result = []
  
      for c in name:
          if c == "_":
              if result:
                  capitalize_next = True
          elif capitalize_next:
              result.append(c.upper())
              capitalize_next = False
          else:
              result += c
  
      # Lower-case the first letter.
      if result and result[0].isupper():
          result[0] = result[0].lower()
      return "".join(result)
  
imports: import threading
  import warnings
  import six
  from google.protobuf.internal import api_implementation
label_desc: Use image node_id 3 for calling a global function with example usage: _ToCamelCase(name) and returns: str