A New Architecture for Emulating CNN with Template Learning on FPGA | VDE Conference Publication | IEEE Xplore