4 #include <torch/csrc/WindowsTorchApiMacro.h>     5 #include <torch/csrc/jit/ir.h>     6 #include <ATen/core/stack.h>    15 constexpr 
int kCPUDevice = -1;
    19 TORCH_API int64_t registerFusion(
const Node* fusion_group);
    25 TORCH_API 
void runFusion(
const int64_t key, Stack& stack);
    28 TORCH_API 
bool canFuseOnCPU();
    29 TORCH_API 
bool canFuseOnGPU();
    33 TORCH_API 
void overrideCanFuseOnCPU(
bool value);
    38 TORCH_API std::vector<at::Tensor> debugLaunchGraph(
    42 TORCH_API 
size_t nCompiledKernels();
 
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory)...