tf.timestamp

Provides the time since epoch in seconds.

Compat aliases for migration

See Migration guide for more details.

tf.compat.v1.timestamp

Returns the timestamp as a float64 for seconds since the Unix epoch.

name A name for the operation (optional).

A Tensor of type float64.