A two-class model with softmax activations in the final layer yields the expected output range [0,1] when instantiating the model in tensorflow:
[0,1]
tensorflow