aitune.global_context
aitune.global_context
Global context for torch.
Module Contents
Classes
Data
API
Global context holding key value pairs.
Creates only one instance (singleton) and can be used as a context manager to push and pop context.
_current_data
Return the current context.
_data_stack
_lock
Enter a new context.
Exit the current context.
Get a value from the current context.
Set a key-value pair in the current context.
Clear the current context.
Get a value from the current context.
Set a key-value pair in the current context.