Sample neural network implementation