tf.keras.config.intx

Returns the default integer dtype, as a string.

Ops that return integers without being given a dtype use it, for example for the indices from argmax or the sum of int8 values.

String, "int32" (the default) or "int64".

Example:

keras.config.intx()
'int32'