In this chapter, we introduced the details of the ONNX format, a popular representation for DL models. We examined how it depicts the intermediate representation and operators. We then looked at support for ONNX in Caffe2. Using AlexNet as the example, we looked at how to convert a Caffe2 model file to ONNX format. We also looked at the reverse process: importing an ONNX model file into Caffe2, and then using it for inference. Finally, we looked at a useful tool to visualize the graph representation of an ONNX file.
Argentina
Australia
Austria
Belgium
Brazil
Bulgaria
Canada
Chile
Colombia
Cyprus
Czechia
Denmark
Ecuador
Egypt
Estonia
Finland
France
Germany
Great Britain
Greece
Hungary
India
Indonesia
Ireland
Italy
Japan
Latvia
Lithuania
Luxembourg
Malaysia
Malta
Mexico
Netherlands
New Zealand
Norway
Philippines
Poland
Portugal
Romania
Russia
Singapore
Slovakia
Slovenia
South Africa
South Korea
Spain
Sweden
Switzerland
Taiwan
Thailand
Turkey
Ukraine
United States