Port replication_pad2d and replication_pad3d to ATen (#15538)
authorLin Huang <lhuang04@fb.com>
Sat, 5 Jan 2019 00:59:18 +0000 (16:59 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Sat, 5 Jan 2019 01:08:14 +0000 (17:08 -0800)
commit2d8b3322629a529911397a655b6f3c0580f31411
treee804d7b326cbf27f2768d14b483b09fa12e3b6af
parent3d44eeec0a31334e7642b4251da151733ec9fb69
Port replication_pad2d and replication_pad3d to ATen (#15538)

Summary:
port replication padding 2D and 3D from legacy TH API implementation
to ATen implementation.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/15538

Differential Revision: D13547567

Pulled By: lhuang04

fbshipit-source-id: decfe100d9edfdcfb62f39ee23f37b6cae0d461f
16 files changed:
aten/src/ATen/native/LegacyNNDefinitions.cpp
aten/src/ATen/native/ReplicationPadding.cpp
aten/src/ATen/native/cuda/ReplicationPadding.cu
aten/src/ATen/native/native_functions.yaml
aten/src/ATen/nn.yaml
aten/src/THCUNN/CMakeLists.txt
aten/src/THCUNN/SpatialReplicationPadding.cu [deleted file]
aten/src/THCUNN/VolumetricReplicationPadding.cu [deleted file]
aten/src/THCUNN/generic/SpatialReplicationPadding.cu [deleted file]
aten/src/THCUNN/generic/THCUNN.h
aten/src/THCUNN/generic/VolumetricReplicationPadding.cu [deleted file]
aten/src/THNN/generic/SpatialReplicationPadding.c [deleted file]
aten/src/THNN/generic/THNN.h
aten/src/THNN/generic/VolumetricReplicationPadding.c [deleted file]
aten/src/THNN/init.cpp
torch/nn/_functions/thnn/auto.py