If you permute the neurons in the hidden layer and do the same permutation on the weights of the adjacent layers then the loss doesn't change. Hence if there is a non-zero global minimaminimum as a function of weights, then it can't be unique since the permutation of weights gives another minimaminimum. Hence the function is not convex.