title: tensorflow - top k values in vector to binary vector
body: <p>Say I had a vector with values <code>[0,4,1,2,8,7,0,2]</code>, how can I get a binary vector of the top k values (k = 3) <code>[0,1,0,0,1,1,0,0]</code> in <strong>tensorflow</strong>?</p>