1 #ifndef HALIDE_SERIALIZATION_H 2 #define HALIDE_SERIALIZATION_H 18 void serialize_pipeline(
const Pipeline &pipeline, std::vector<uint8_t> &data, std::map<std::string, Parameter> ¶ms);
29 void serialize_pipeline(
const Pipeline &pipeline,
const std::string &filename, std::map<std::string, Parameter> ¶ms);
Defines the front-end class representing an entire Halide imaging pipeline.
This file defines the class FunctionDAG, which is our representation of a Halide pipeline, and contains methods to using Halide's bounds tools to query properties of it.
void serialize_pipeline(const Pipeline &pipeline, std::vector< uint8_t > &data)
Serialize a Halide pipeline into the given data buffer.