The k-means clustering is done by using tensorflow which is the vital and growing machine learning library of google.