A Machine Learning Method and Device Based on Programmable Switch | IEEE Conference Publication | IEEE Xplore