Skip to content

Commit ebab535

Browse files
committed
Major context rework and dryml.{ml_framework} addition
* Total rework of context management * Add new dryml.tf, dryml.torch, and dryml.jax modules which can add special methods for those frameworks
1 parent b2e0889 commit ebab535

24 files changed

Lines changed: 1853 additions & 130 deletions

‎src/dryml/context/__init__.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from .context_tracker import active_context, use_context, \
2-
set_context, clear_context, context_check, \
2+
add_context, set_context, clear_context, \
3+
context_check, \
34
ContextError, InsufficientResourcesError, \
45
ContextAlreadyActiveError, NoContextError, \
56
WrongContextError, ContextIncompatibilityError, \
@@ -13,6 +14,7 @@
1314
active_context,
1415
use_context,
1516
set_context,
17+
add_context,
1618
clear_context,
1719
context_check,
1820
ResourceSpec,

0 commit comments

Comments
 (0)