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
This commit is contained in:
Sebastian Messmer
2019-03-21 14:51:38 -07:00
committed by Facebook Github Bot
parent 1877087df2
commit daa77c6e26
4 changed files with 95 additions and 72 deletions

View File

@ -744,8 +744,8 @@ if __name__ == '__main__':
'include/c10/macros/*.h',
'include/c10/core/*.h',
'include/ATen/core/dispatch/*.h',
'include/ATen/core/op_registration/*.h',
'include/c10/core/impl/*.h',
'include/ATen/core/opschema/*.h',
'include/c10/util/*.h',
'include/c10/cuda/*.h',
'include/c10/cuda/impl/*.h',