Automatically register c10 ops with JIT (#16534)
authorSebastian Messmer <messmer@fb.com>
Thu, 7 Feb 2019 05:14:20 +0000 (21:14 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 7 Feb 2019 05:21:33 +0000 (21:21 -0800)
commit16468a9f4536195499c9602e1ea1484cade4976d
treeb07ae67c3a0eb0250dee135a70c98a4580d32aed
parente5e0bf4152b28fecaa9494bb355cfabd4d37a9e2
Automatically register c10 ops with JIT (#16534)

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

All c10 ops from the c10 dispatcher are now automatically registered with JIT

Reviewed By: dzhulgakov

Differential Revision: D13869275

fbshipit-source-id: 5ab5dec5b983fe661f977f9d29d8036768cdcab6
aten/src/ATen/core/dispatch/Dispatcher.cpp
aten/src/ATen/core/dispatch/Dispatcher.h
aten/src/ATen/core/jit_type.h
c10/util/flat_hash_map.h
caffe2/operators/layer_norm_op.cc
tools/build_variables.py
torch/CMakeLists.txt
torch/csrc/jit/c10_ops/layer_norm.cpp [deleted file]
torch/csrc/jit/operator.h
torch/csrc/jit/register_c10_ops.cpp [new file with mode: 0644]