summaryrefslogtreecommitdiff
path: root/tools/autograd/gen_python_functions.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/autograd/gen_python_functions.py')
-rw-r--r--tools/autograd/gen_python_functions.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/autograd/gen_python_functions.py b/tools/autograd/gen_python_functions.py
index 994576c67c..47bdb2baa4 100644
--- a/tools/autograd/gen_python_functions.py
+++ b/tools/autograd/gen_python_functions.py
@@ -16,6 +16,7 @@ CodeTemplate = import_module('code_template', 'aten/src/ATen/code_template.py').
SKIP_PYTHON_BINDINGS = [
'alias', 'contiguous', 'clamp.*', 'is_cuda', 'is_sparse', 'size', 'stride',
'.*_backward', '.*_backward_out', '.*_forward', '.*_forward_out',
+ 'sparse_raw_resize_',
]
PY_VARIABLE_METHODS_CPP = CodeTemplate.from_file(template_path + '/python_variable_methods.cpp')