Use TensorIterator for unary operations
authorChristian Puhrsch <cpuhrsch@fb.com>
Tue, 26 Mar 2019 16:19:51 +0000 (09:19 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 26 Mar 2019 16:22:52 +0000 (09:22 -0700)
commitcf094d4edcc7928f9a4a368b3e2eeb22579b29b0
treee151d08b324f3ea1b4e961c7cc446b050c345439
parent5e462a3ed6ec88a022e1ab4d60f9e2282e96ec44
Use TensorIterator for unary operations

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

Differential Revision: D14591533

Pulled By: cpuhrsch

fbshipit-source-id: a3b0788a481bddf1803c9f2d3289263d7364f8d7
aten/src/ATen/CPUApplyUtils.h
aten/src/ATen/native/Copy.cpp
aten/src/ATen/native/Distributions.cpp
aten/src/ATen/native/TensorIterator.cpp
aten/src/ATen/native/TensorIterator.h
aten/src/ATen/native/UnaryOps.cpp
aten/src/ATen/native/UnaryOps.h [new file with mode: 0644]
aten/src/ATen/native/cpu/Loops.h
aten/src/ATen/native/cpu/UnaryOpsKernel.cpp
aten/src/ATen/native/cpu/UnaryOpsKernel.h [deleted file]