Program#

Applies to Linux

2023-06-17

4 min read time

instruction#

struct instruction#

instruction_ref#

type migraphx::internal::instruction_ref#

References an instruction in the program.

program#

struct program#

Stores the instruction stream.

parse_onnx#

Warning

doxygenfunction: Unable to resolve function “migraphx::internal::parse_onnx” with arguments “None”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 21] MIGRAPHX_ONNX_EXPORT program parse_onnx (const std::string &name, const onnx_options &=onnx_options{}) ———————^ If the function has a return type: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Invalid C++ declaration: Expected ‘::’ in pointer to member (function). [error at 29] MIGRAPHX_ONNX_EXPORT program parse_onnx (const std::string &name, const onnx_options &=onnx_options{}) —————————–^ If declarator-id: Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 29] MIGRAPHX_ONNX_EXPORT program parse_onnx (const std::string &name, const onnx_options &=onnx_options{}) —————————–^

parse_tf#

Warning

doxygenfunction: Unable to resolve function “migraphx::internal::parse_tf” with arguments “None”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 19] MIGRAPHX_TF_EXPORT program parse_tf (const std::string &name, const tf_options &options=tf_options{}) ——————-^ If the function has a return type: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Invalid C++ declaration: Expected ‘::’ in pointer to member (function). [error at 27] MIGRAPHX_TF_EXPORT program parse_tf (const std::string &name, const tf_options &options=tf_options{}) —————————^ If declarator-id: Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 27] MIGRAPHX_TF_EXPORT program parse_tf (const std::string &name, const tf_options &options=tf_options{}) —————————^

onnx_options#

struct onnx_options#

struct to pass in onnx options to parser

tf_options#

struct tf_options#

struct to pass in tf options to parser