Try out Google’s large language models using the PaLM API and MakerSuiteExplore Generative AI

tf.timestamp

Provides the time since epoch in seconds.

Used in the notebooks

Used in the tutorials

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.