def make_one_hot(X, onehot_size):

    rX = np.zeros((X.shape[0], onehot_size), dtype=theano.config.floatX)
    for i in xrange(X.shape[0]):
        rX[i, X[i]] = 1

    return rX
Returns true if ACK is received
dataset/ETHPy150Open hycis/Pynet/pynet/utils/utils.py/make_one_hot--crossover with--dataset/ETHPy150Open kmpm/nodemcu-uploader/nodemcu_uploader/uploader.py/Uploader.__got_ack