| Commit message (Collapse) | Author | Age |
... | |
| |
| |
| |
| |
| |
| | |
Pure refactor, in preparation for adding a higher level checkpoint management utility. This utility will also need to work with the Checkpoint proto, and globbing it on to saver.py seems dirty.
PiperOrigin-RevId: 207179646
|
| |
| |
| | |
In the `evaluate` method, the usage of `tf.exp` seems redundant here, since `predictions` itself is the logits output of a dense layer in decoder. Therefore, I removed `tf.exp` so that `tf.multinomial` is applied on the logits directly, which agrees better with the proper usage of `tf.multinomial`.
|
| |
| |
| |
| |
| |
| | |
Use object-based save/restore to make dataset/iterator checkpointable in both graph as well as eager mode.
PiperOrigin-RevId: 206998349
|
| |
| |
| |
| |
| |
| | |
`Dataset.batch(n, drop_remainder=True)`.
PiperOrigin-RevId: 206953312
|
|/
|
| |
It is a bit misleading and confusing that the output shape of decoder is currently commented as `(batch_size * max_length, vocab)`. However the correct shape should be `(batch_size * 1, vocab)`, since the input x of GRU layer has shape == `(batch_size, 1, embedding_dim + hidden_size)`.
|
|
|
|
| |
PiperOrigin-RevId: 206859887
|
|
|
|
| |
PiperOrigin-RevId: 206855526
|
|
|
|
| |
PiperOrigin-RevId: 206825954
|
|
|
|
|
|
| |
Fixes #21237
PiperOrigin-RevId: 206791616
|
|\
| |
| |
| | |
PiperOrigin-RevId: 206784422
|
| |
| |
| |
| | |
PiperOrigin-RevId: 206658934
|
| |
| |
| |
| | |
PiperOrigin-RevId: 206658188
|
| |
| |
| |
| | |
PiperOrigin-RevId: 206643365
|
| |
| |
| |
| | |
PiperOrigin-RevId: 206643314
|
| |
| |
| |
| | |
PiperOrigin-RevId: 206630163
|
| | |
|
| | |
|
| |
| |
| |
| | |
PiperOrigin-RevId: 206459313
|
|/ |
|
|
|
|
| |
PiperOrigin-RevId: 206352708
|
|
|
|
| |
PiperOrigin-RevId: 206249965
|
|
|
|
| |
PiperOrigin-RevId: 206192038
|
|
|
|
| |
PiperOrigin-RevId: 206179345
|
|
|
|
| |
PiperOrigin-RevId: 206081636
|
|
|
|
| |
PiperOrigin-RevId: 206018486
|
|
|
|
| |
PiperOrigin-RevId: 205901720
|
|
|
|
| |
PiperOrigin-RevId: 205898175
|
|
|
|
|
|
|
| |
Before this change, even when the actual metric is using float32,
we used float64 to represent boolean matches.
PiperOrigin-RevId: 205891351
|
|
|
|
|
|
|
|
| |
Removes stale mentions of how to construct them from docstrings and adds a new
section to the programmer's guide explaining resource handles and resource
variable semantics.
PiperOrigin-RevId: 205842012
|
|
|
|
| |
PiperOrigin-RevId: 205733306
|
|
|
|
| |
PiperOrigin-RevId: 205732970
|
|
|
|
| |
PiperOrigin-RevId: 205728836
|
|
|
|
| |
PiperOrigin-RevId: 205707483
|
|
|
|
| |
PiperOrigin-RevId: 205675401
|
|
|
|
|
|
|
|
| |
Fix broken benchmark.
END_PUBLIC
Automated rollback of commit 8741006018326350467fe86785d98963ff9e983e
PiperOrigin-RevId: 205480787
|
|
|
|
| |
PiperOrigin-RevId: 205472990
|
|
|
|
| |
PiperOrigin-RevId: 205446896
|
|
|
|
| |
PiperOrigin-RevId: 205416917
|
|
|
|
|
|
| |
being there.
PiperOrigin-RevId: 205331171
|
|
|
|
|
|
| |
This CL gets rid of the forced placement of all eager datasets / iterators on the CPU since now we can have some datasets on the GPU.
PiperOrigin-RevId: 205264791
|
|
|
|
| |
PiperOrigin-RevId: 205264291
|
|
|
|
| |
PiperOrigin-RevId: 205248470
|
|
|
|
| |
PiperOrigin-RevId: 205149061
|
|
|
|
|
|
|
|
| |
Also adds arguments to control distributed aggregation to the tf.Variable constructor.
Removes tfe.Variable from examples as it's now unnecessary.
PiperOrigin-RevId: 205096552
|
|
|
|
| |
PiperOrigin-RevId: 204922359
|
|
|
|
|
|
| |
discriminator.
PiperOrigin-RevId: 204407120
|
|
|
|
| |
PiperOrigin-RevId: 204354687
|
|
|
|
| |
PiperOrigin-RevId: 204330664
|
|
|
|
| |
PiperOrigin-RevId: 204230306
|
|\
| |
| |
| | |
PiperOrigin-RevId: 204018286
|