cached latent nets