def __init__(self): x = Input([1]) y = np.array([[2.0]]) b = np.array([0.0]) mult = Dense(1, weights=(y, b)) z = mult(x) self.x = x self.mult = mult self.z = z