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.
United States
United Kingdom
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
Argentina
Austria
Belgium
Bulgaria
Chile
Colombia
Cyprus
Czechia
Denmark
Ecuador
Egypt
Estonia
Finland
Greece
Hungary
Indonesia
Ireland
Italy
Japan
Latvia
Lithuania
Luxembourg
Malaysia
Malta
Mexico
Netherlands
New Zealand
Norway
Philippines
Poland
Portugal
Romania
Singapore
Slovakia
Slovenia
South Africa
South Korea
Sweden
Switzerland
Taiwan
Thailand
Turkey
Ukraine