Element-wise Addition Explained – A Beginner Guide – Machine Learning Tutorial

By | October 22, 2020

Element-wise addition is often used in machine learning, in this tutorial, we will introduce it for machine learning beginners.

What is element-wise addition

element-wise addition is also called matrix addtion, for example:

Element-wise Addition Explained - A Beginner Guide - Machine Learning Tutorial

There is an example to show how to calculate element-wise addtion.

Element-wise Addition example

If the dimension of \(A\) and \(B\) is different, we may to add each element by row or column.

Here is an example:

Element-wise Addition by row and column

The symbol of element-wise addition

In academic papers, we often use \(\oplus\) symbol to express element-wise addition. Here is an example:

The symbol of element-wise addition

Leave a Reply

Your email address will not be published. Required fields are marked *