Missed TensorFlow World? Check out the recap. Learn more

tf.timestamp

TensorFlow 2 version

Defined in generated file: python/ops/gen_logging_ops.py

Provides the time since epoch in seconds.

Aliases:

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.