Arg doc
This commit is contained in:
Родитель
317fa84615
Коммит
00a4c0c47a
|
@ -368,7 +368,7 @@ class LocalExecutionContext(AbstractContext):
|
|||
name (str): context name
|
||||
device_id (int): whether to use CPU (-1) or GPU if `device_id>=0`, in which case it denotes the GPU index
|
||||
precision (str): either float or double
|
||||
clean_up: whether the temporary directory should be removed when the context is left
|
||||
clean_up (bool): whether the temporary directory should be removed when the context is left
|
||||
'''
|
||||
|
||||
def __init__(self, name,
|
||||
|
@ -389,7 +389,6 @@ class LocalExecutionContext(AbstractContext):
|
|||
del _CONTEXT[self.name]
|
||||
if self.clean_up:
|
||||
sh.rmtree(self.directory)
|
||||
|
||||
|
||||
def _call_cntk(self, config_file_name, config_content, action_name):
|
||||
'''
|
||||
|
|
Загрузка…
Ссылка в новой задаче