[nnc] Added an implementation of sign op (#64033)
authorRaghavan Raman <raghavanr@fb.com>
Fri, 10 Sep 2021 19:35:24 +0000 (12:35 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Fri, 10 Sep 2021 23:49:04 +0000 (16:49 -0700)
commitcad7a4b0eab0001a98ef15a787c841d52e04652c
tree807e299d43e6792c392d50b39aee4875391f9e31
parent3fbb49e75dc3e7d1d5b14e8a18e983ef9e04ae0b
[nnc] Added an implementation of sign op (#64033)

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

Test Plan: Imported from OSS

Reviewed By: bertmaher

Differential Revision: D30579197

Pulled By: navahgar

fbshipit-source-id: f9f7fa7f2ffa109cf4e441eb1af821b8b891d4d3
test/cpp/tensorexpr/test_kernel.cpp
test/test_jit_fuser_te.py
tools/build_variables.bzl
torch/csrc/jit/tensorexpr/kernel.cpp
torch/csrc/jit/tensorexpr/kernel.h
torch/csrc/jit/tensorexpr/operators/operators.h
torch/csrc/jit/tensorexpr/operators/unary.cpp [new file with mode: 0644]
torch/csrc/jit/tensorexpr/operators/unary.h [new file with mode: 0644]