Promote template parameters to globals.
Promote template parameters to globals.

Since this simplifies things.

jameshanlon/convolutional-neural-network,jameshanlon/convolutional-neural-network,jameshanlon/convolutional-neural-network