Program#

Applies to Linux

2023-06-14

2 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#

program migraphx::internal::parse_onnx(const std::string &name, const onnx_options& = onnx_options{})#

Create a program from an onnx file.

parse_tf#

program migraphx::internal::parse_tf(const std::string &name, const tf_options &options = tf_options{})#

Create a program from a tf pb file (default is nhwc format)

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