Details
here (US embassy website)
Quoteing from it,
those wishing to attend a vocational or non-academic institution require an M-1 visa. Holders of visitor(B-2) visas and those who have entered the United States visa free under the Visa Waiver Program are prohibited from entering into full-time study.