| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
tf.distributions API.
PiperOrigin-RevId: 215441733
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to replace it.
This change prepares `tf.data` for TensorFlow 2.0, where `tf.contrib` will no longer exist. It retains the pre-existing endpoints in `tf.contrib.data` with deprecation warnings.
Note there are some exceptions to the move:
* Deprecated symbols in `tf.contrib.data` have not been moved to `tf.data.experimental`, because replacements already exist.
* `tf.contrib.data.LMDBDataset` has not been moved, because we plan to move it to a SIG-maintained repository.
* `tf.contrib.data.assert_element_shape()` has not yet been moved, because it depends on functionality in `tf.contrib`, and it will move in a later change.
* `tf.contrib.data.AUTOTUNE` has not yet been moved, because we have not yet determined how to `tf_export()` a Python integer.
* The stats-related API endpoints have not yet appeared in a released version of TensorFlow, so these are moved to `tf.data.experimental` without retaining an endpoint in `tf.contrib.data`.
In addition, this change includes some build rule and ApiDef refactoring:
* Some of the "//third_party/tensorflow/python:training" dependencies had to be split in order to avoid a circular dependency.
* The `tf.contrib.stateless` ops now have a private core library for the generated wrappers (and accordingly are hidden in their ApiDef) so that `tf.data.experimental.sample_from_datasets()` can depend on them.
PiperOrigin-RevId: 215304249
|
|
|
|
| |
PiperOrigin-RevId: 214824023
|
|
|
|
|
|
|
|
| |
This change reduce the size of //tensorflow/tools/pip_package:simple_console_windows's zip file from 1000027677 bytes to 47690474 bytes for a CPU build. For GPU build, it will avoid going over 4GB when multiple CUDA compatibility are specified.
To fix #22390
PiperOrigin-RevId: 214764423
|
|
|
|
|
|
| |
GPU). This avoids many unnecessary CPU<->GPU memcpy and syncs.
PiperOrigin-RevId: 214108484
|
|
|
|
|
|
|
|
| |
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: 213944932
|
|
|
|
| |
PiperOrigin-RevId: 211966207
|
|
|
|
| |
PiperOrigin-RevId: 211892283
|
|
|
|
| |
PiperOrigin-RevId: 211875205
|
|
|
|
|
|
| |
Previously, if neither the --debug or --tensorboard_debug_address flag is used, the example will error out because the variable debug_hook is unset.
PiperOrigin-RevId: 210973500
|
|
|
|
|
| |
RELNOTES: tfdbg: Limit the total disk space occupied by dumped tensor data to 100 GBytes. Add environment variable `TFDBG_DISK_BYTES_LIMIT` to allow adjustment of this upper limit.
PiperOrigin-RevId: 210648585
|
|
|
|
|
|
| |
now that grpcio is installed as a dependency with the tensorflow pip package.
PiperOrigin-RevId: 209971052
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: 205167512
|
|
|
|
| |
PiperOrigin-RevId: 203948138
|
|
|
|
| |
PiperOrigin-RevId: 203766656
|
|
|
|
|
|
|
| |
Fixes #20160
REL_NOTES: tfdbg: Fix compatibility with `tf.keras.Model`s training on `tf.data.Dataset`s.
PiperOrigin-RevId: 202543231
|
|
|
|
|
|
| |
Update references in source files and docs in tensorflow and related projects.
PiperOrigin-RevId: 201766994
|
|
|
|
|
|
|
|
|
| |
Usage example:
tfdbg> ver
or
tfdbg> version
PiperOrigin-RevId: 201593552
|
|
|
|
| |
PiperOrigin-RevId: 201095811
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* In some cases the RuntimeError object (tf_error in cli_shared.py) doesn't have
the op or its name available. Handle that situation properly.
* Previously, we used client graphs in the debugger CLI whenever it's available. This
has caused issues in which the device names
(e.g., "/device:GPU:0" vs "/job:localhost/replica:0/task:0/device:CPU:0").
This CL fixes that by favoring the runtime graph on the disk over the client graph.
The former has the actual device names.
Use the latter only if the former isn't available for some reason (e.g.,
writing graph to the disk failed.)
PiperOrigin-RevId: 200128582
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
* Source file content is now sent one by one, making it less likely that individual
messages will have sizes above the 4-MB gRPC message size limit.
* In case the message for a single source file exceeds the limit, the client handles
it gracefully by skipping the sending and print a warning message.
Fixes: https://github.com/tensorflow/tensorboard/issues/1118
PiperOrigin-RevId: 197949416
|
|
|
|
| |
PiperOrigin-RevId: 197661636
|
|
|
|
| |
PiperOrigin-RevId: 195475780
|
|
|
|
|
|
|
|
|
| |
* `tf.contrib.learn.Experiment` is deprecated. Remove it from debug_tflearn_iris.py.
* Use `tf.estimator.DNNClassifier`, instead of the older one from `tf.contrib.learn`.
* Use `train()`, instead of `fit()` of Estimators.
* `Estimator.predict()` supports hooks. Add example lines for that.
PiperOrigin-RevId: 195301913
|
|
|
|
| |
PiperOrigin-RevId: 194402869
|
|
|
|
| |
PiperOrigin-RevId: 194031845
|
|
|
|
| |
PiperOrigin-RevId: 191494857
|
|
|
|
|
|
| |
This reverts commit 4e108ef30d7cd7ae5e1c550ec5ae27e79b8c6e39.
PiperOrigin-RevId: 191391075
|
|
|
|
| |
PiperOrigin-RevId: 190878279
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes: #16619
See the referred GitHub issue for details, but users want to be
able to skip certain nodes when searching for inf/nans, because
some nodes generate inf/nans even in nominal conditions.
This CL adds a new optional flag `--filter_exclude_node_names`
(or `-fenn` for short), which allows users to do exactly that,
by using a regex for node names.
RELNOTES: tfdbg CLI: Allow exclusion of nodes by regular expressions
during tensor filter-enabled Session runs: see the new flags
`--filter_exclude_node_names` (or `-fenn` for short).
PiperOrigin-RevId: 190504225
|
|
|
|
|
|
|
|
| |
to prevent spurious color pairs from appearing in certain text
terminal environments.
RELNOTES: Bug fix: tfdbg curses CLI: fix spurious background colors in some text terminals.
PiperOrigin-RevId: 189742433
|
|
|
|
| |
PiperOrigin-RevId: 189258641
|
|
|
|
| |
PiperOrigin-RevId: 189231636
|
|
|
|
|
|
|
|
|
|
|
| |
* so that the test sizes are medium for both the existing session_debug_grpc_test
and the new grpc_large_data_test
Also in this CL
* Consolidate the functions for creating no-grappler-rewrite ConfigProtos
in one place: in session_debug_testlib.py
PiperOrigin-RevId: 188955135
|
|
|
|
| |
PiperOrigin-RevId: 188828898
|
|
|
|
| |
PiperOrigin-RevId: 187386941
|
|
|
|
| |
PiperOrigin-RevId: 186510594
|
|
|
|
| |
PiperOrigin-RevId: 186073337
|
|
|
|
|
|
|
|
| |
debugged runtime
from TensorBoardDebugWrapperSession and TensorBoardDebugHook.
PiperOrigin-RevId: 185617989
|
|
|
|
| |
PiperOrigin-RevId: 184897758
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Actually remove nodes marked for removal if fetches are known.
* Remove trivial nodes even in the presence of control inputs, except
for Identity nodes when
a) they are anchored on an Identity following a Switch node and
removal would require anchoring a control identity on the Switch, or
b) they have control inputs and feed a Merge node.
* Remove nodes only when in_degree * out_degree <= in_degree + out_degree.
Move input deduping utility function to utils.{h,cc}.
PiperOrigin-RevId: 184858685
|
|
|
|
|
|
| |
by disabling grappler in the test.
PiperOrigin-RevId: 184721353
|
|
|
|
|
|
|
|
| |
num_outputs. Exceptions are Identity nodes after Variable nodes, and Identity nodes after Switch nodes when removing the node would require anchoring a control dependency on the Switch.
Another exception is Identity nodes where inputs or outputs cross a device boundary, since we are not allowed to remove Identity nodes after _Recv that might be inserted in the graph later.
PiperOrigin-RevId: 183759826
|
|
|
|
|
| |
Fixes: #15882
PiperOrigin-RevId: 183685645
|
|
|
|
| |
PiperOrigin-RevId: 183661140
|
|
|
|
| |
PiperOrigin-RevId: 183467186
|