| Commit message (Collapse) | Author | Age |
|\
| |
| |
| | |
PiperOrigin-RevId: 216245934
|
| |
| |
| |
| |
| |
| | |
The implementation is based on: https://openreview.net/pdf?id=S1dIzvclg.
PiperOrigin-RevId: 215824867
|
|/ |
|
|
|
|
|
|
| |
The implementation is based on: https://arxiv.org/pdf/1806.05394v2.pdf.
PiperOrigin-RevId: 215655857
|
|
|
|
| |
PiperOrigin-RevId: 215651746
|
|
|
|
| |
PiperOrigin-RevId: 214824023
|
|
|
|
|
|
|
|
| |
self.test_session() has been deprecated in 9962eb5e84b15e309410071b06c2ed2d6148ed44 as its name confuses readers of the test. Moving to cached_session() instead which is more explicit about:
* the fact that the session may be reused.
* the session is not closed even when doing a "with self.test_session()" statement.
PiperOrigin-RevId: 212336417
|
|
|
|
| |
PiperOrigin-RevId: 212038355
|
|
|
|
|
|
| |
Match #22072
PiperOrigin-RevId: 211884527
|
|
|
|
| |
PiperOrigin-RevId: 211883998
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Remove unnecessary use of test_session() in tests that run with eager
execution enabled.
- Use cached_session() instead of test_session()
(self.test_session() has been deprecated in
9962eb5e84b15e309410071b06c2ed2d6148ed44 as its name confuses readers of the
test. Moving to cached_session() instead which is more explicit about:
* the fact that the session may be reused.
* the session is not closed even when doing a "with self.test_session()"
statement.)
PiperOrigin-RevId: 211562969
|
|
|
|
|
|
| |
self.test_session() has been deprecated in cl/208545396 as its behavior confuses readers of the test. Moving to self.session() instead.
PiperOrigin-RevId: 209696110
|
|
|
|
|
|
|
|
|
|
| |
This change contains no code changes. Only doc-strings.
We can't use relative links in code files, so we don't have much choice but to link to tensorflow.org/
The deleted links were to docs that no longer exist.
PiperOrigin-RevId: 209019572
|
|
|
|
| |
PiperOrigin-RevId: 208834783
|
|
|
|
| |
PiperOrigin-RevId: 208714929
|
|
|
|
| |
PiperOrigin-RevId: 208712150
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Back-ticks are now converted to links in the api_docs generator. With the new docs repo we're moving to simplify the docs pipeline, and make everything more readable.
By doing this we no longer get test failures for symbols that don't exist (`tf.does_not_exist` will not get a link).
There is also no way, not to set custom link text. That's okay.
This is the result of the following regex replacement (+ a couple of manual edits.):
re: @\{([^$].*?)(\$.+?)?}
sub: `\1`
Which does the following replacements:
"@{tf.symbol}" --> "`tf.symbol`"
"@{tf.symbol$link_text}" --> "`tf.symbol`"
PiperOrigin-RevId: 208042358
|
| |
|
|
|
|
| |
PiperOrigin-RevId: 204137901
|
|
|
|
|
|
|
|
|
|
| |
These are similar to regular RNN, GRU and LSTM nodes, except that, following the ideas in https://arxiv.org/abs/1803.04831, each node only sees its own state, and not all the states in the same layer.
The number of weights for a layer of IndRNN, IndyGRU, and IndyLSTM with input width "m" and output width "n" is n*(m+2), 3*n*(m+2), and 4*n*(m+2) as opposed to n*(m+n+1), 3*n*(m+n+1), and 4*n*(m+n+1) for regular RNN, GRU, and LSTM layers respectively.
The computational costs are similarly reduced by replacing an O(n^2) matrix-vector multiplication by an O(n) element-wise vector multiplication.
PiperOrigin-RevId: 203932335
|
|
|
|
|
|
| |
This cell type has been private for a while, and neither used by internal code, nor exposed as a public API.
PiperOrigin-RevId: 203853628
|
|
|
|
| |
PiperOrigin-RevId: 202415942
|
|
|
|
| |
PiperOrigin-RevId: 201652888
|
|
|
|
| |
PiperOrigin-RevId: 198582181
|
|
|
|
|
|
|
|
| |
They weren't calling their parent constructors (for the Keras base Layer), so a bunch of their methods threw odd errors. There may still be issues, but hopefully not so blatent.
Fixes #19208. For real this time.
PiperOrigin-RevId: 197052962
|
|
|
|
|
|
|
|
|
|
| |
Also marks _SlimRNNCell as not checkpointable, and adds a more convenient way to tag such classes.
Ideally adding a wrapper around a cell wouldn't break a checkpoint. This could look like RNN cell wrappers inheriting the dependencies of the cell they're wrapping. Possible to add that later if there's demand, or users can just add a dependency on wrapper._cell in addition to/instead of the wrapper when modifying programs.
Fixes #19208.
PiperOrigin-RevId: 196202366
|
|
|
|
|
|
|
|
|
| |
_, state = tf.nn.static_state_saving_rnn(..)
the runtime will be blocked after some time, because the save_state method of the state_saver object won't be executed as a part of the graph (that part depends only on output node in the current implementation).
Now it should depend on state as well, so the above implementation won't be blocked.
PiperOrigin-RevId: 196024050
|
|
|
|
| |
PiperOrigin-RevId: 194997009
|
|
|
|
| |
PiperOrigin-RevId: 194010749
|
|
|
|
| |
PiperOrigin-RevId: 192850372
|
|
|
|
|
|
|
|
| |
Using fill saves on GraphDef size, but can slow down models since the
total number of ops is greater (fill + shape + constant op). This
change makes us only use fill for large shapes.
PiperOrigin-RevId: 191747456
|
|
|
|
| |
PiperOrigin-RevId: 190878279
|
|
|
|
| |
PiperOrigin-RevId: 189945839
|
|
|
|
| |
PiperOrigin-RevId: 189258641
|
|
|
|
| |
PiperOrigin-RevId: 189231636
|
|
|
|
| |
PiperOrigin-RevId: 188817194
|
|
|
|
| |
PiperOrigin-RevId: 188698275
|
|
|
|
| |
PiperOrigin-RevId: 188651070
|
|
|
|
|
|
|
|
| |
This is in preparation to introduce one public, stable symbol: tf.executing_eagerly()
(i.e., part of moving APIs related to eager execution from "contrib" to a namespace
where we provide API stability guarantees)
PiperOrigin-RevId: 188212646
|
|
|
|
|
|
| |
Currently, GLSTMCell requires that the input dimension is is the same as the output dimension. After this change, the input can be any compatible dimension---i.e., anything divisible by the number of groups. The input size is still assumed to be the output size in the case where the innermost dimension of the input is not statically-defined.
PiperOrigin-RevId: 188123536
|
|
|
|
| |
PiperOrigin-RevId: 187670464
|
|
|
|
| |
PiperOrigin-RevId: 186674197
|
|
|
|
| |
PiperOrigin-RevId: 186073337
|
|
|
|
| |
PiperOrigin-RevId: 185057994
|
|
|
|
| |
PiperOrigin-RevId: 184897758
|
|
|
|
|
|
| |
pylint errors.
PiperOrigin-RevId: 184790548
|
|
|
|
|
|
|
|
|
| |
(Bug introduced in
https://github.com/tensorflow/tensorflow/commit/3f579020bab8f00e4621e9c7c740cbf13136a809)
Kudos to @akhti for pointing this out.
PiperOrigin-RevId: 184570448
|
|
|
|
|
|
| |
tensorflow/contrib/.../*.{hh,c}.
PiperOrigin-RevId: 183855242
|
|
|
|
| |
PiperOrigin-RevId: 183689499
|
|
|
|
| |
PiperOrigin-RevId: 183467186
|