Mastiff
Mastiff

Reputation: 2240

Can I make my Keras/Tensorflow model use float64 (double) internally?

I'm running out of precision in my application. Is it possible to use doubles as input, output and internally? If so, how do I specify this in the layers?

Upvotes: 2

Views: 3526

Answers (1)

Innat
Innat

Reputation: 17239

Sets the default float type to

tf.keras.backend.set_floatx('float64')

Upvotes: 2

Related Questions