Tensor construction codemod (#16568)
authorJerry Zhang <jerryzh@fb.com>
Wed, 6 Feb 2019 02:46:38 +0000 (18:46 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 6 Feb 2019 02:51:02 +0000 (18:51 -0800)
commitdb5a3c274df47c99f4559a0ee7a778279c5958f1
tree420a5d97ab3a5f49cf194c01e242ee7680c6d688
parent18edd3ab0828acaa81dc052dba8644c874dc62db
Tensor construction codemod (#16568)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/16568

In caffe2/caffe2/operators and caffe2/caffe2/fb/operators
(Resize + mutable_data) and (ResizeLike + mutable_data)
motivation: https://github.com/pytorch/pytorch/pull/12407

Reviewed By: dzhulgakov

Differential Revision: D13863416

fbshipit-source-id: 90ad3971850b89bf4b2ac81e9fa59d3bc43dc1c9
caffe2/operators/cast_op.cu
caffe2/operators/dense_vector_to_id_list_op.h
caffe2/operators/depthwise_3x3_conv_op_cudnn.cu
caffe2/operators/distance_op.cu
caffe2/operators/max_pool_with_index.cu
caffe2/operators/perplexity_op.cu
caffe2/operators/unique_ops.cu