Hardware implementation of the backpropagation without multiplication