Techniques for mapping deep neural network frameworks to programmable accelerators