Go to the documentation of this file. 1 #ifndef HALIDE_CODEGEN_PYTORCH_H
2 #define HALIDE_CODEGEN_PYTORCH_H
44 #endif // HALIDE_CODEGEN_PYTORCH_H
An IRVisitor that emits IR to the given output stream in a human readable form.
void compile(const Module &module)
Emit the PyTorch C++ wrapper for the Halide pipeline.
CodeGen_PyTorch(std::ostream &dest)
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
@ Internal
Not visible externally, similar to 'static' linkage in C.
~CodeGen_PyTorch() override=default
Definition of a lowered function.
This class emits C++ code to wrap a Halide pipeline so that it can be used as a C++ extension operato...