Optimizing AI and Deep Learning Performance