Provides the time since epoch in seconds.
View aliases
Compat aliases for migration
See
Migration guide for
more details.
tf.compat.v1.timestamp
tf.timestamp(
name=None
) -> Annotated[Any, _atypes.Float64]
Used in the notebooks
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
Note: In graph mode, the timestamp is computed when the op is executed,
not when it is added to the graph. In eager mode, the timestamp is computed
when the op is eagerly executed.
Args |
name
|
A name for the operation (optional).
|
Returns |
A Tensor of type float64.
|
Last updated 2024-04-26 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-26 UTC."],[],[]]