| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
`self.assertTrue(3.0)` always evaluates to `True`.
This PR fixes assertion so it will correctly check the loss value.
|
|
|
|
| |
PiperOrigin-RevId: 204663736
|
|\
| |
| |
| | |
PiperOrigin-RevId: 204662666
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Changes included are:
- Embedding visualization is added to TensorBoard callback (from older Keras API.)
- Fix: learning phase info being left out in multi-input models (from older Keras API.)
- Fix: Tensorboard callback only supports logging Embeddings layer weights
- Fix: Tensorboard callback with layer with multiple outputs
PiperOrigin-RevId: 204659796
|
| |
| |
| |
| |
| |
| | |
cover up to Volta
PiperOrigin-RevId: 204606836
|
| |
| |
| |
| | |
PiperOrigin-RevId: 204596391
|
| |
| |
| |
| |
| |
| | |
Merge pull request #20749
PiperOrigin-RevId: 204581011
|
| |
| |
| |
| | |
PiperOrigin-RevId: 204579728
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes #18143
Fixes #20769
(Similar to #18716 by @raintung)
PiperOrigin-RevId: 204575441
|
| |
| |
| |
| | |
PiperOrigin-RevId: 204568222
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
new directives support. Simplify the process by which transformers are applied and their testing.
Changes to converters:
* all tests have been refactored to use the new helpers; functionally they remain the same
* several converters have been renamed to be more consistent with the overall naming patterns: single_return.py -> return_statements.py; list_comprehension.py -> list_comprehensions.py; if_exp.py -> conditional_expressions.py
* conditional expression converter has been rewritten to use local functions instead of lambdas, which are not yet supported by the static analyzers
* the handling of if statements in control_flow.py now uses both the liveness and reaching definitions analyses to more robustly detect output variables
* a new directives.py converter is introduced, that transforms user directives (see lang/directives.py) into AST annotations and removes the function calls from the code
* list_comprehensions.py is slightly refactored for better readability; it is still not yet enabled
* slices.py and lists.py now use the new directives mechanism to obtain list type information
* side_effects_guards_test.py has been refactored to avoid flakiness
Changes to AG core:
* conversion.py now uses the helpers from converter.py and removes the redundant function
* converter_testing.py now offers a more unified helper that can be used to test most use cases with less boilerplate
* the new directives module now completely replaces the obsolete type_hints.py
Changes to static analysis:
* activity.py no longer considers index mutation to modify the parent (e.g. a[0] = 1 is not considered to modify a)
* activity.py no longer detects the local symbol changes (the IS_MODIFIED_SINCE_ENTRY annotation), which is now handled by reaching_definitions.py
* activity.py marks the created field as obsolete, to be removed once the loops in control_flow are migrated to use the dataflow analyses
* the obsolete annos.py extension has been removes in favor of the consolidated tags in anno.py
* the new CFG implementation now completely replaces the old version
* live_values.py and type_info.py also use the symbol definitions from reaching_definitions.py
PiperOrigin-RevId: 204563046
|
|\ \
| | |
| | |
| | |
| | |
| | | |
ROCmSoftwarePlatform:upstream-staging-xla-gpu-transfer-manager
PiperOrigin-RevId: 204562235
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | | |
ROCmSoftwarePlatform:upstream-staging-xla-globalvariable-addrspacecast
PiperOrigin-RevId: 204560820
|
| | | |
| | | |
| | | |
| | | | |
PiperOrigin-RevId: 204560078
|
| | | |
| | | |
| | | |
| | | | |
PiperOrigin-RevId: 204560026
|
| | | |
| | | |
| | | |
| | | | |
PiperOrigin-RevId: 204557470
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Otherwise both :framework_internal_impl and :stats_calculator_portable compile this file and cause multiple definition.
PiperOrigin-RevId: 204555332
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
FIx other colab links.
PiperOrigin-RevId: 204555150
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
used from other namespaces without additional contortions.
PiperOrigin-RevId: 204554899
|
| | | |
| | | |
| | | |
| | | | |
PiperOrigin-RevId: 204552928
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
shfl.down is deprecated and ptxas 9.2 emits a loud warning when you use
it. Convert XLA to shfl.sync.down.
This change makes XLA:GPU require CUDA 9.
PiperOrigin-RevId: 204546742
|
| | | |
| | | |
| | | |
| | | | |
PiperOrigin-RevId: 204544587
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We have hit another ptxas bug, which appears to be fixed in 9.2.88.
We're no longer testing 8.x, so we can't say those versions work either.
Just warn if it's less than 9.2.88.
Also update the warning to suggest that people can cherry-pick the new
ptxas if they can't upgrade to 9.2.88 properly.
PiperOrigin-RevId: 204541857
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
SavedModels.
PiperOrigin-RevId: 204540825
|
|\ \ \ \
| | | | |
| | | | |
| | | | | |
PiperOrigin-RevId: 204539752
|
| | | | |
| | | | |
| | | | |
| | | | | |
PiperOrigin-RevId: 204538445
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | | |
PiperOrigin-RevId: 204530874
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
graph is finalized.
PiperOrigin-RevId: 204529164
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
PiperOrigin-RevId: 204527084
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
them - they are widely used in TF code.
PiperOrigin-RevId: 204526510
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | | |
PiperOrigin-RevId: 204525677
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
PiperOrigin-RevId: 204525365
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
PiperOrigin-RevId: 204523318
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
PiperOrigin-RevId: 204520442
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* debug_gateway and the related node_outputs_callback are not used and hence are removed in this CL.
PiperOrigin-RevId: 204519574
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
PiperOrigin-RevId: 204518322
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
currently timing out in windows
PiperOrigin-RevId: 204518052
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
PiperOrigin-RevId: 204516578
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This is to keep the default configuration consistent with prebuilt TensorFlow.
PiperOrigin-RevId: 204513386
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | | |
PiperOrigin-RevId: 204508607
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
PiperOrigin-RevId: 204506936
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
PiperOrigin-RevId: 204502742
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
PiperOrigin-RevId: 204500106
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
PiperOrigin-RevId: 204499498
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
PiperOrigin-RevId: 204499384
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
This causes DirectSession to report a better error message if there is an error initializing GPUs.
PiperOrigin-RevId: 204498143
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
This is called 'allow_intermediates'. In the future we should have
a way for users to enable this functionality from the interpreter API.
Also, preserve_inputs is now better commented.
PiperOrigin-RevId: 204496777
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
PiperOrigin-RevId: 204496471
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
PiperOrigin-RevId: 204493360
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
PiperOrigin-RevId: 204484476
|