i2tutorials

Exploring ‘OR’, ‘XOR’,’AND’ gate in Neural Network?

Ans: AND Gate

From our knowledge of logic gates, we know that an AND logic table is given by the diagram below:

Deep learning (i2tutorials)

weights and bias for the AND perceptron

First, we need to understand that the output of an AND gate is 1 only if both inputs are 1.

Row 1

Row 2

Row 4

From the diagram, the OR gate is 0 only if both inputs are 0.

Row 1

Row 2

Row 4

Exit mobile version