Analysis of the effect of caching convolutional network layers on resource constraint devices