orkgnlp.common.util.io.read_onnx

read_onnx(input_path)[source]

Reads the onnx file of the given input_path.

Parameters:

input_path (str) – Path to the onnx file

Return type:

ModelProto

Returns:

A loaded onnx object.