Dynamic Custom Resources - create and delete resources (#3742)

This commit is contained in:
Romil Bhardwaj
2019-05-11 20:06:04 +08:00
committed by Hao Chen
parent 351753aae5
commit 004440f526
23 changed files with 1041 additions and 65 deletions
+2 -1
View File
@@ -10,6 +10,7 @@ from .gcs_flush_policy import (set_flushing_policy, GcsFlushPolicy,
SimpleGcsFlushPolicy)
from .named_actors import get_actor, register_actor
from .api import get, wait
from .dynamic_resources import set_resource
def TensorFlowVariables(*args, **kwargs):
@@ -24,5 +25,5 @@ __all__ = [
"flush_evicted_objects_unsafe", "_flush_finished_tasks_unsafe_shard",
"_flush_evicted_objects_unsafe_shard", "get_actor", "register_actor",
"get", "wait", "set_flushing_policy", "GcsFlushPolicy",
"SimpleGcsFlushPolicy"
"SimpleGcsFlushPolicy", "set_resource"
]