Network size and weights size for memorization with two layers neural networks