Hi, for sigmoid of 12, I get 0.9999938 instead of 0.9999939. (See below). Any ideas on what to do to get this to match exactly so I don’t get an assertion error? Thanks

##
type: <class ‘tensorflow.python.framework.ops.EagerTensor’>

dtype: <dtype: ‘float32’>

sigmoid(-1) = tf.Tensor(0.26894143, shape=(), dtype=float32)

sigmoid(0) = tf.Tensor(0.5, shape=(), dtype=float32)

sigmoid(12) = tf.Tensor(0.9999938, shape=(), dtype=float32)

AssertionError Traceback (most recent call last)

in

16 print("\033[92mAll test passed")

17

—> 18 sigmoid_test(sigmoid)

in sigmoid_test(target)

12 assert sigmoid(0) == 0.5, “Error”

13 assert sigmoid(-1) == 0.26894143, “Error”

—> 14 assert sigmoid(12) == 0.9999939, “Error”

15

16 print("\033[92mAll test passed")

AssertionError: Error