parameters: (device_id)
docstring: Set context.
docstring_summary: Set context.
docstring_tokens: Set context .
function: def _set_context(device_id):
          """Set context."""
          context.set_context(device_id=device_id)
          context.set_context(mode=context.GRAPH_MODE)
function_tokens: def _set_context ( device_id ) : context . set_context ( device_id = device_id ) context . set_context ( mode = context . GRAPH_MODE )