| Commit message (Collapse) | Author | Age |
|
|
|
| |
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: 213326581
|
| |
| |
| |
| |
| |
| |
| |
| | |
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: 212336464
|
| |
| |
| |
| |
| |
| |
| |
| | |
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: 211890783
|
| |
| |
| |
| |
| |
| |
| |
| | |
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: 209703607
|
| |
| |
| |
| |
| |
| | |
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: 208695032
|
| |
| |
| |
| | |
PiperOrigin-RevId: 208126204
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| | |
PiperOrigin-RevId: 206864512
|
| |\
| | |
| | |
| | | |
PiperOrigin-RevId: 205331312
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Example code as follow:
config = tf.estimator.RunConfig(protocol='grpc+verbs')
nn = tf.estimator.Estimator(model_fn=model_fn,
model_dir=model_dir,
params=params,
config=config)
|
| | |
| | |
| | |
| | | |
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
|
| |/
| |
| |
| |
| |
| |
| |
| | |
This fix updates calling of `expand_dims` with `dim -> axis`
as the `dim=` in `tf.expand_dims` has been deprecated and was
generating unnecessary warnings.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
|
| |
| |
| |
| |
| |
| | |
even in the case of falsy eval_results
PiperOrigin-RevId: 199728382
|
| |
| |
| |
| |
| |
| | |
due to timeouts without optimization.
PiperOrigin-RevId: 198804880
|
| |
| |
| |
| |
| |
| |
| | |
Revert #18413. Too many internal test failures due to the name scope change caused by this change.
Revert #18192. Cannot use re2::StringPiece internally. Need alternative for set call. Will pull and clean this up in a separate change.
PiperOrigin-RevId: 197991247
|
| |
| |
| |
| | |
PiperOrigin-RevId: 197803127
|
| |
| |
| |
| |
| |
| |
| | |
Working on untangling TF/Estimator deps. Some core TF code depends on Estimator
by using the fn_args utility function within Estimator.
PiperOrigin-RevId: 196277612
|
| |
| |
| |
| | |
PiperOrigin-RevId: 196157095
|
| |
| |
| |
| |
| |
| | |
avoid flaky timeouts
PiperOrigin-RevId: 196068593
|
| |
| |
| |
| |
| |
| | |
to avoid flaky timeouts
PiperOrigin-RevId: 196061508
|
| |
| |
| |
| |
| |
| | |
tensorflow/contrib/learn:state_saving_rnn_estimator_test to avoid flaky timeouts
PiperOrigin-RevId: 195887546
|
| |
| |
| |
| | |
PiperOrigin-RevId: 195826025
|
| |
| |
| |
| | |
PiperOrigin-RevId: 194997009
|
| |
| |
| |
| |
| |
| | |
value for OOV with tf.feature_column.FeatureColumn, sparse / categorical).
PiperOrigin-RevId: 194839178
|
| |
| |
| |
| |
| |
| | |
checkpoint before the first training step.
PiperOrigin-RevId: 194107958
|
| |
| |
| |
| | |
PiperOrigin-RevId: 194031845
|
| |
| |
| |
| | |
PiperOrigin-RevId: 193588868
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#15640)
* adding ps_strategy to run_config to enable different placement strategy in estimator
* 1. Moved estimator._device_fn to RunConfig as @property
2. Made RunConfig.device_fn to return custom device function if one is specified, otherwise the result from `tf.train.replica_device_setter` call is used
3. Added some basic unit tests, may need further tests.
* 1. Removing ps_strategy.
2. Modified estimator to take overriden device_fn from if set.
3. Removed ps_strategy related unit tests.
* Adding manual initialization of _device_fn in legacy RunConfig class
* Updated estimator golden API through
1. bazel build //tensorflow/tools/api/tests:api_compatibility_test
2. bazel-bin/tensorflow/tools/api/tests/api_compatibility_test --update_goldens True
* fixing code styles
|
|
|
|
| |
PiperOrigin-RevId: 192491335
|
|
|
|
|
|
| |
clarify that its purpose is only for training.
PiperOrigin-RevId: 191654161
|
|
|
|
|
|
| |
This reverts commit 4e108ef30d7cd7ae5e1c550ec5ae27e79b8c6e39.
PiperOrigin-RevId: 191391075
|
|
|
|
| |
PiperOrigin-RevId: 190953197
|
|
|
|
| |
PiperOrigin-RevId: 190882152
|
|
|
|
| |
PiperOrigin-RevId: 190878279
|
|
|
|
| |
PiperOrigin-RevId: 190858242
|
|
|
|
| |
PiperOrigin-RevId: 190835392
|
|
|
|
|
|
|
|
|
|
| |
Everything in contrib/learn/python/learn/datasets/base.py has been deprecated. One of the function in there is a decorator, retry. Because another function in that file is decorated with retry, the function is called upon import, which prints a warning.
I have fixed this by adding a private function, _internal_retry, which is used internally, and redefining retry to simply call this. That way, using retry in user-code will still print the deprecated warning, but it's not printed upon every import.
I also cleaned up the docstrings slightly.
PiperOrigin-RevId: 190626717
|
|
|
|
| |
PiperOrigin-RevId: 189945839
|
|
|
|
| |
PiperOrigin-RevId: 189258641
|
|
|
|
| |
PiperOrigin-RevId: 189231636
|
|
|
|
| |
PiperOrigin-RevId: 188670616
|
|
|
|
|
|
| |
get_timestamped_export_dir an Estimator util.
PiperOrigin-RevId: 188366199
|