def forward(self, arr):
    out = (self._weights.dot(arr) + self._bias)
    if (self._activation == 'relu'):
        out[(out <= 0)] = 0
    if (self._activation == 'softmax'):
        out = self.softmax(out)
    return out
def forward(self, arr):
    out = (self._weights.dot(arr) + self._bias)
    if (self._activation == 'relu'):
        out[(out <= 0)] = 0
    if (self._activation == 'softmax'):
        out = self.softmax(out)
    return out