Move schema inference to c10 (#18090)
authorSebastian Messmer <messmer@fb.com>
Thu, 21 Mar 2019 21:51:38 +0000 (14:51 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 21 Mar 2019 21:57:30 +0000 (14:57 -0700)
commitdaa77c6e269df04042dafdb5512ac239f90e5f31
tree21d3ca9a4187ce9a6cd0073c94cfa08030df445a
parent1877087df25999a5c65c985c718836a0d01b29ae
Move schema inference to c10 (#18090)

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

This schema inference is needed by the c10 operator registration mechanism. Move it to c10.
It is going to be used by diffs stacked on top.

Reviewed By: ezyang

Differential Revision: D14491454

fbshipit-source-id: 0f8ddcdbd91467c8347d315dd443a1ca8b216481
aten/src/ATen/core/op_registration/infer_schema.h [new file with mode: 0644]
c10/CMakeLists.txt
setup.py
torch/csrc/jit/custom_operator.h