langctxs

set_langctx(ctx, /)

Sets the current language context.

get_langctx()

Gets the current language context (defaulting to the torch language)

reset_langctx(token, /)

Resets the language context.

langctx(_langctx, /)