multi-layer neural network platform for spatial-temporal sample transform