Port adaptive_max_pool2d() to ATen (#19409)
authorStefan Krah <skrah@bytereef.org>
Tue, 23 Apr 2019 14:34:12 +0000 (07:34 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 23 Apr 2019 14:37:25 +0000 (07:37 -0700)
commit75ce5173a9c3db50c9a96608d267aed60e017c67
tree701a1b258cd5853ab920fbc9984ebbcb8f068feb
parent88f78c719aaac8f5a72440662711775af54a46a5
Port adaptive_max_pool2d() to ATen (#19409)

Summary:
This is the first part of  #18064.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/19409

Differential Revision: D15037390

Pulled By: ezyang

fbshipit-source-id: 16a3feed2fd9cc66033696da224a7d5fb7208534
13 files changed:
aten/src/ATen/native/AdaptiveMaxPooling2d.cpp [new file with mode: 0644]
aten/src/ATen/native/LegacyNNDefinitions.cpp
aten/src/ATen/native/cuda/AdaptiveMaxPooling2d.cu [new file with mode: 0644]
aten/src/ATen/native/native_functions.yaml
aten/src/ATen/nn.yaml
aten/src/THCUNN/CMakeLists.txt
aten/src/THCUNN/SpatialAdaptiveMaxPooling.cu [deleted file]
aten/src/THCUNN/generic/SpatialAdaptiveMaxPooling.cu [deleted file]
aten/src/THCUNN/generic/THCUNN.h
aten/src/THNN/generic/SpatialAdaptiveMaxPooling.c [deleted file]
aten/src/THNN/generic/THNN.h
aten/src/THNN/init.cpp
torch/nn/_functions/thnn/auto.py