<gh_stars>0
import numpy as np
import matplotlib.pylab as plt
from MulLayer import MulLayer

class AddLayer:
        def __init__ (self):
                pass
        
        def forward(self, x, y):
                out = x + y
                return out

        def backward(self, dout):
                dx = dout * 1
                dy = dout * 1
                return dx,dy





import numpy as np
import matplotlib.pylab as plt
from MulLayer import MulLayer

class AddLayer:
        def __init__ (self):
                pass
        
        def forward(self, x, y):
                out = x + y
                return out

        def backward(self, dout):
                dx = dout * 1
                dy = dout * 1
                return dx,dy