summaryrefslogtreecommitdiff
path: root/aten
diff options
context:
space:
mode:
authorElias Ellison <eellison@fb.com>2019-04-05 10:37:58 -0700
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>2019-04-05 10:43:34 -0700
commitabc758ed40d826ac8af4c9a318e1628194091f34 (patch)
tree81410a216fe7a4db0ba659d2c448e61aee653500 /aten
parente45e3634d6dff9384d899a6a3623572342af6032 (diff)
downloadpytorch-abc758ed40d826ac8af4c9a318e1628194091f34.tar.gz
pytorch-abc758ed40d826ac8af4c9a318e1628194091f34.tar.bz2
pytorch-abc758ed40d826ac8af4c9a318e1628194091f34.zip
Expand the list of ops that mutate an inputs shape (#18812)
Summary: Expand the list of ops that resize an input in-place to include broadcasting ops and other ops that affect shape. Whoever is reviewing the PR could you please look through pytorch in place ops and see if I missed any. Expanding the PR from: https://github.com/pytorch/pytorch/pull/17518 This is already being tested in test_resize_input_ops. Pull Request resolved: https://github.com/pytorch/pytorch/pull/18812 Differential Revision: D14793410 Pulled By: eellison fbshipit-source-id: 125f4f5375ac1036fb96fabc9da2aaccc9adc778
Diffstat (limited to 'aten')
-rw-r--r--aten/src/ATen/core/interned_strings.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/aten/src/ATen/core/interned_strings.h b/aten/src/ATen/core/interned_strings.h
index 9828b38fa7..dd0fd18b34 100644
--- a/aten/src/ATen/core/interned_strings.h
+++ b/aten/src/ATen/core/interned_strings.h
@@ -97,7 +97,23 @@ namespace c10 {
_(aten, __is__) \
_(aten, __isnot__) \
_(aten, copy_) \
+ _(aten, t_) \
+ _(aten, addbmm_) \
+ _(aten, addcdiv_) \
+ _(aten, addcmul_) \
+ _(aten, addmv_) \
+ _(aten, addr_) \
+ _(aten, baddbmm_) \
+ _(aten, ge_) \
+ _(aten, gt_) \
+ _(aten, le_) \
+ _(aten, lerp_) \
+ _(aten, lt_) \
+ _(aten, ne_) \
+ _(aten, transpose_) \
+ _(aten, unsqueeze_) \
_(aten, _set_item) \
+ _(aten, set_) \
_(aten, index_put_) \
_(aten, device) \
_(aten, hash) \