#ifndef __EXAMPLES_CLI_DGL_H__ #define __EXAMPLES_CLI_DGL_H__ #include #include #include #include struct ArgOptions; struct SDContextParams; struct DGLModeParams { std::string script_path; std::string write_builtins_path; std::string check_builtins_path; std::string max_ram; std::vector> tensor_paths; bool check_only = false; std::optional run_once; bool list_builtins = false; ArgOptions get_options(); bool has_options() const; bool validate() const; int run(const SDContextParams& options, bool embed_metadata) const; }; #endif // __EXAMPLES_CLI_DGL_H__