deprecated function based API (#18444)
authorSebastian Messmer <messmer@fb.com>
Mon, 1 Apr 2019 21:53:08 +0000 (14:53 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Mon, 1 Apr 2019 21:58:32 +0000 (14:58 -0700)
commit723ce02a55ab638c1afeb5068e15a8a22e7d5a6e
tree55001c4c6a369c27f90317e1bc57868faa1bb0a3
parent246f5c412eea453d42245ff496316934c01bda73
deprecated function based API (#18444)

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

This adds the deprecated function based API to c10::RegisterOperators().
This is the API currently exposed under jit::RegisterOperators() and we need to support it for backwards compatibility.

Reviewed By: dzhulgakov

Differential Revision: D14514218

fbshipit-source-id: c77676851cfd431d66f18fd8038cf153a3a7d7cc
aten/src/ATen/core/op_registration/kernel_function_legacy_test.cpp [new file with mode: 0644]
aten/src/ATen/core/op_registration/op_registration.h