def fc_forward(x, w, b=None):
    """fc前向

    :param x: shape[N, In]
    :param w: shape[Out, In]
    :param b: shape[Out]
    :return: shape[N, Out]
    """
    if b is None:
        return x @ w.T
    return x @ w.T + b