fixed an copy-paste indentation error

This commit is contained in:
Frank Seide 2017-02-09 20:24:49 -08:00
Родитель 0673df13da
Коммит 580c40ff8b
1 изменённых файлов: 3 добавлений и 3 удалений

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

@ -684,9 +684,9 @@ def load_model(filename, device=None):
@typemap @typemap
def save_model(model, filename): # legacy name def save_model(model, filename): # legacy name
import warnings import warnings
warnings.warn('This will be removed in future versions. Please use ' warnings.warn('This will be removed in future versions. Please use '
'model.save(...) instead', DeprecationWarning) 'model.save(...) instead', DeprecationWarning)
return model.save(filename) return model.save(filename)