mirror of
https://github.com/pytorch/pytorch.git
synced 2025-11-02 06:24:59 +08:00
Remove python bindings for torch.slice (#7924)
* skip python bindings for slice * remove tests * convert slice test to indexing
This commit is contained in:
committed by
Soumith Chintala
parent
89ba9dc44f
commit
e9c33e91d9
@ -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')
|
||||
|
||||
Reference in New Issue
Block a user