tf.timestamp

Provides the time since epoch in seconds.

tf.timestamp(
    name=None
)

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

Note: the timestamp is computed when the op is executed, not when it is added to the graph.

Args:

Returns:

A Tensor of type float64.