#ifndef MIGRAPHX_GUARD_MIGRAPHLIB_ONNX_HPP #define MIGRAPHX_GUARD_MIGRAPHLIB_ONNX_HPP #include #include namespace migraphx { inline namespace MIGRAPHX_INLINE_NS { /// struct to pass in onnx options to parser struct onnx_options { unsigned int batch_size = 1; }; /// Create a program from an onnx file program parse_onnx(const std::string& name, onnx_options = onnx_options{}); /// Create a program from an onnx buffer program parse_onnx_buffer(const std::string& buffer, onnx_options options); /// Create a program from an onnx buffer program parse_onnx_buffer(const void* data, std::size_t size, onnx_options options); } // namespace MIGRAPHX_INLINE_NS } // namespace migraphx #endif