This commit is contained in:
Willi Richert 2016-05-20 15:42:14 +02:00
Родитель 317fa84615
Коммит 00a4c0c47a
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -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):
'''