I\'m working with a neural net (in Tensorflow), and part of the process involves converting a continuous variable to OneHOT encoding. To do this, I\'m picking discrete point