pytorch/tools/codegen
Edward Yang 93c4f9f972 Split out RegisterDispatchKey to its own file (#51508)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/51508

No substantive changes.  The codegen for this file was getting a
bit long so I moved it off into tools.codegen.dest submodule (I
wanted to do tools.codegen.gen but that conflicts with the existing
module; oy vey!)  To do this I had to move some other functions around
so that they were more generally accessible.  Otherwise
self-explanatory.

Signed-off-by: Edward Z. Yang <ezyang@fb.com>

Test Plan: Imported from OSS

Reviewed By: ljk53

Differential Revision: D26187856

Pulled By: ezyang

fbshipit-source-id: fd3784571d03d01c4acb7ca589fcde4492526408
2021-02-04 09:19:32 -08:00
..
api Add api.structured; switch structured kernels to use const Tensor& everywhere (#51490) 2021-02-03 14:03:46 -08:00
dest Split out RegisterDispatchKey to its own file (#51508) 2021-02-04 09:19:32 -08:00
selective_build [PyTorch Mobile] Generate Kernel dtype selection code in selected_mobile_ops.h during the build (#49279) 2021-01-06 12:17:32 -08:00
__init__.py
code_template.py
context.py Split out RegisterDispatchKey to its own file (#51508) 2021-02-04 09:19:32 -08:00
gen.py Split out RegisterDispatchKey to its own file (#51508) 2021-02-04 09:19:32 -08:00
local.py Byte-for-byte compatibility fixes in codegen (#44879) 2020-09-25 08:06:50 -07:00
model.py Split out RegisterDispatchKey to its own file (#51508) 2021-02-04 09:19:32 -08:00
utils.py Split out RegisterDispatchKey to its own file (#51508) 2021-02-04 09:19:32 -08:00