def METHOD_NAME(x, weight, bias, skip_activation):
    out = flow._C.bias_add(flow._C.matmul(x, weight, transpose_b=True), bias, axis=1)
    if not skip_activation:
        out = flow._C.relu(out)
    return out