Sensing Theorems for Unsupervised Learning in Linear Inverse Problems