Layer-wise Analysis of a Self-supervised Speech Representation Model