ArticleslgStudy

computer science

Open Neural Network Exchange

Open Neural Network Exchange is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Open Neural Network Exchange rather than just read about it. In short: The Open Neural Network Exchange (ONNX) [ˈɒnɪks] is an open-source artificial intelligence ecosystem of technology companies and research organizations that establish open standards for representing machine learning algorithms and software tools to enable a standard format for representing machine learning models. ONNX is available on GitHub.

Open Neural Network Exchange — main illustration
Open Neural Network Exchange — illustration

Key takeaways

  • Open Neural Network Exchange belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Open Neural Network Exchange to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Open Neural Network Exchange from memory before moving on to harder problems.

Reference excerpt

The Open Neural Network Exchange (ONNX) [ˈɒnɪks] is an open-source artificial intelligence ecosystem of technology companies and research organizations that establish open standards for representing machine learning algorithms and software tools to enable a standard format for representing machine learning models. ONNX is available on GitHub.

History ONNX was originally named Toffee and was developed by the PyTorch team at Facebook. In September 2017 it was renamed to ONNX and announced by Facebook and Microsoft. Later, IBM, Huawei, Intel, AMD, Arm and Qualcomm announced support for the initiative. In October 2017, Microsoft announced that it would add its Cognitive Toolkit and Project Brainwave platform to the initiative. In November 2019 ONNX was accepted as graduate project in Linux Foundation AI. In October 2020 Zetane Systems became a member of the ONNX ecosystem.

Intent The initiative targets:

Framework interoperability Enable developers to move machine learning models between different frameworks, which may be used at different stages of the development process, such as training, architecture design, or deployment on mobile devices.

Shared optimization Provide a common representation that can be used by hardware vendors and other developers to apply optimizations to artificial neural network models across multiple machine learning frameworks.

Contents ONNX provides definitions of an extensible computation graph model, built-in operators and standard data types, focused on inferencing (evaluation).. The container format is Protocol Buffers. Each computation dataflow graph is a list of nodes that form an acyclic graph. Nodes have inputs and outputs. Each node is a call to an operator. Metadata documents the graph. Built-in operators are to be available on each ONNX-supporting framework. ONNX models can be trained in a single framework, such as PyTorch or TensorFlow, and then exported to ONNX. This format allows models to be transferred from the training framework to other environments for testing or deployment. Once a model is in ONNX format, it can be executed in different runtime systems or on various hardware platforms, such as GPUs or specialized AI accelerators. Using a common format enables the same model representation to be used across multiple systems and frameworks.

See also

Neural Network Exchange Format Comparison of deep learning software Predictive Model Markup Language—an XML-based predictive model interchange format PicklingTools—an open-source collection of tools for allowing C++ and Python systems to share information quickly and easily.

References

External links Boyd, Eric (2017-09-07). "Microsoft and Facebook create open ecosystem for AI model interoperability – Microsoft Cognitive Toolkit". Microsoft Cognitive Toolkit. Retrieved 2017-10-11. onnx: Open Neural Network Exchange, Open Neural Network Exchange, 2017-10-11, retrieved 2017-10-11

Worked examples

Example 1 — a first encounter with Open Neural Network Exchange

Start with the simplest possible case. Write down what Open Neural Network Exchange claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Open Neural Network Exchange before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Open Neural Network Exchange ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Open Neural Network Exchange

In research
Open Neural Network Exchange appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Open Neural Network Exchange in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Open Neural Network Exchange is common in secondary-school and first-year university syllabi. It links to neighbouring topics 2017 software, Applied machine learning, Microsoft free software, so understanding it makes those chapters shorter.
In everyday life
Look for Open Neural Network Exchange outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Open Neural Network Exchange in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Open Neural Network Exchange means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Open Neural Network Exchange out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Open Neural Network Exchange in simple terms?

The Open Neural Network Exchange (ONNX) [ˈɒnɪks] is an open-source artificial intelligence ecosystem of technology companies and research organizations that establish open standards for representing machine learning algorithms and software tools to enable a standard format for representing machine…

Why does Open Neural Network Exchange matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Open Neural Network Exchange?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Open Neural Network Exchange.

Tags

  • 2017 software
  • Applied machine learning
  • Microsoft free software
  • Neural network data exchange formats
  • Software using the Apache license

Keep exploring