Remove python bindings for torch.slice (#7924)

* skip python bindings for slice

* remove tests

* convert slice test to indexing
This commit is contained in:
Seth Hendrickson
2018-05-31 10:42:49 -07:00
committed by Soumith Chintala
parent 89ba9dc44f
commit e9c33e91d9
3 changed files with 11 additions and 12 deletions

View File

@ -22,7 +22,7 @@ SKIP_PYTHON_BINDINGS = [
'index',
'_indexCopy_', 'max_values', 'min_values', 'argmax', 'argmin',
'_cumsum.*', '_cumprod.*', '_sum.*', '_prod.*', '_th_sum.*', '_th_prod.*',
'arange.*', 'range.*', '_gesv.*',
'arange.*', 'range.*', '_gesv.*', 'slice',
]
PY_VARIABLE_METHODS_CPP = CodeTemplate.from_file(template_path + '/python_variable_methods.cpp')