Provides the time since epoch in seconds.
tf.timestamp(
name=None
) -> _atypes.TensorFuzzingAnnotation[_atypes.Float64]
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
Args | |
---|---|
name
|
A name for the operation (optional). |
Returns | |
---|---|
A Tensor of type float64 .
|