tf.raw_ops.Timestamp

Provides the time since epoch in seconds.

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

Common usages include:

  • Logging
  • Providing a random number seed
  • Debugging graph execution
  • Generating timing information, mainly through comparison of timestamps

name A name for the operation (optional).

A Tensor of type float64.