Missed TensorFlow Dev Summit? Check out the video playlist. Watch recordings

tf.timestamp

TensorFlow 1 version

Provides the time since epoch in seconds.

tf.timestamp(
    name=None
)

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

Args:

  • name: A name for the operation (optional).

Returns:

A Tensor of type float64.