clamp fixes (#15479)
authorsurgan12 <cs17btech11038@iith.ac.in>
Wed, 2 Jan 2019 07:09:45 +0000 (23:09 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 2 Jan 2019 07:12:17 +0000 (23:12 -0800)
commitb52420742d70f01ed79ce9e55ec476f30c6e9423
tree0b316aa75cc52a4880f243fe5b08bf96a06505f9
parent8278a8b16f3f7b9e0f45d0596ae6c0f200864dd2
clamp fixes (#15479)

Summary: fix to #15338 .

Differential Revision: D13564343

Pulled By: soumith

fbshipit-source-id: be64b572945533e10ae6f627d335b47f093720a3
aten/src/THC/THCTensorMathPointwise.cuh
test/test_cuda.py
test/test_torch.py