parameters: (op)
return_statement: return ''
docstring: Gets the root context name from the op name.
docstring_summary: Gets the root context name from the op name.
docstring_tokens: Gets the root context name from the op name .
function: def _GetContextFromOp(op):
    """Gets the root context name from the op name."""
    context_re = re.search(r'^(.*)/([^/]+)', op.name)
    if context_re:
      return context_re.group(1)
    return ''
function_tokens: def _GetContextFromOp ( op ) : context_re = re . search ( r'^(.*)/([^/]+)' , op . name ) if context_re : return context_re . group ( 1 ) return ''