Random seed use float instead of datetime object.
Random seed use float instead of datetime object.

Originally passing datetime object implicitly used hash value of it, but it is deprecated from 3.9 and raises pytype error.

PiperOrigin-RevId: 448379966

tensorflow/tfx,tensorflow/tfx