| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL tags all known-already-portable TF Lite tests as portable, and
(from those tests) tags those known as not portable.
Adding tflite_portable_test_suite() to the bottom of a package marks all
previous cc_tests as "intended to be portable". I've included all tests
that I was able to naively make buildable on Android with my previous
change that created a custom logging.h library. Most tests are buildable
on Android already, but there is something in the common dependencies
for the kernel tests that is not compatible with iOS.
Outside of Google, this change does nothing except tag tests that are
known to not be buildable on certain platforms.
PiperOrigin-RevId: 188234489
|
|
|
|
| |
PiperOrigin-RevId: 188229669
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
args.
This change avoids the overhead of function dispatch (~10--15us) when
the filter predicate simply returns one of its arguments directly. It
also adds a benchmark to track the performance of this optimization.
The checkpointing code required minor modifications to enable functions to be
instantiated in the `FilterDatasetOp::Compute()` method when an iterator is being
restored.
PiperOrigin-RevId: 188229570
|
|
|
|
| |
PiperOrigin-RevId: 188228489
|
|
|
|
|
|
| |
In order to effectively pipeline the transfers, set num_parallel_calls=4.
PiperOrigin-RevId: 188227890
|
|
|
|
| |
PiperOrigin-RevId: 188221169
|
|
|
|
| |
PiperOrigin-RevId: 188217110
|
|
|
|
| |
PiperOrigin-RevId: 188216178
|
|
|
|
| |
PiperOrigin-RevId: 188215092
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
PiperOrigin-RevId: 188212324
|
|
|
|
|
|
| |
implementation.
PiperOrigin-RevId: 188210975
|
|
|
|
|
|
| |
FunctionBufferingResource).
PiperOrigin-RevId: 188206611
|
|
|
|
| |
PiperOrigin-RevId: 188203941
|
|
|
|
| |
PiperOrigin-RevId: 188202344
|
|
|
|
| |
PiperOrigin-RevId: 188201284
|
|
|
|
|
|
| |
to article intro. Rename headers to make consistent.
PiperOrigin-RevId: 188199437
|
|
|
|
| |
PiperOrigin-RevId: 188191091
|
|
|
|
| |
PiperOrigin-RevId: 188191012
|
|
|
|
| |
PiperOrigin-RevId: 188190458
|
|
|
|
|
|
|
| |
- Removes variable_scopes, since they're no longer necessary (duplicate variable names are OK)
- Switches up the counters a bit (global_step -> step_counter, checkpoint the epoch counter)
PiperOrigin-RevId: 188190128
|
|
|
|
| |
PiperOrigin-RevId: 188190067
|
|
|
|
| |
PiperOrigin-RevId: 188187793
|
|
|
|
|
|
|
| |
It was keeping everything, since the list of things to delete was reset in
build() and build() was called every save.
PiperOrigin-RevId: 188187349
|
|
|
|
| |
PiperOrigin-RevId: 188185438
|
|
|
|
| |
PiperOrigin-RevId: 188184507
|
|
|
|
|
|
|
|
| |
by TOCO
in order to handle UINT8 input to floating-point models.
PiperOrigin-RevId: 188182372
|
|
|
|
|
|
| |
string handling processes.
PiperOrigin-RevId: 188180206
|
|
|
|
| |
PiperOrigin-RevId: 188167618
|
|
|
|
|
|
|
|
| |
We didn't do this because reconstructing a layout was hard. With
layout_assignment before fusion this becomes much easier. Remove the
limitations.
PiperOrigin-RevId: 188167436
|
|
|
|
|
|
|
|
| |
This will allow code simplification and opens up new optimization. Currently we
don't emit layouts inside of fusion and tracing layouts through fusion is very
hard. Changing the pipeline sidesteps this issue. This is mostly perf-neutral.
PiperOrigin-RevId: 188158481
|
|
|
|
|
|
|
| |
Previously if the lhs was a scalar and the rhs was a tuple of arbitrary
shape it reported them as compatible what is clearly wrong.
PiperOrigin-RevId: 188155575
|
|
|
|
|
|
|
|
|
|
|
|
| |
My first attempt at this only handled bitcasts that implement a reshape
operation, now transposes or mixed bitcasts are handled as well. There is
probably some optimization potential to reduce the amount of address arithmetic
emitted to IR for a follow-up.
This is already tested fairly well with the existing test suite, there are
failing tests with layout_assignment before fusion without this change.
PiperOrigin-RevId: 188155082
|
|
|
|
| |
PiperOrigin-RevId: 188135683
|
|
|
|
|
|
| |
`StatsAggregator` with `iterator`.
PiperOrigin-RevId: 188132675
|
|
|
|
| |
PiperOrigin-RevId: 188128441
|
|
|
|
|
|
| |
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: 188122825
|
|
|
|
| |
PiperOrigin-RevId: 188121852
|
|
|
|
|
|
|
|
|
| |
no-op function call. Note that this is meant as fallback, and we prefer the following alternatives (in their order) for inferring the type:
1. Automatic from context, e.g. the type of a list based on the elements added to it (WIP)
2. Type annotations (Python 3.6+ only)
PiperOrigin-RevId: 188120527
|
|
|
|
|
| |
RELNOTES: n/a
PiperOrigin-RevId: 188119450
|
|
|
|
| |
PiperOrigin-RevId: 188117187
|
| |
|
|
|
|
|
|
| |
copy constructor and adds an assert to ensure that the no attribute/no subscript QN constructor does not receive any strings with '.', '[', or ']'. Additionally this changes the self.qn construction to be a tuple of (base QN, attribute/subscript) instead of a concatenation of the base QN and attribute/subscript so that the has_attr and has_subscript fields are handled properly. Constant subscripts are not yet supported.
PiperOrigin-RevId: 188111933
|
|
|
|
|
|
| |
above.
PiperOrigin-RevId: 188110480
|
|
|
|
| |
PiperOrigin-RevId: 188109002
|
|
|
|
|
|
| |
The overall approach is to use Graph._lock to synchronize Session.run calls and construction methods that rely on graph mutation. We don't want to synchronize the actual running of the graph, only the Extend call, so this change exposes an ExtendSession method to the Python API and disables extending automatically in TF_SessionRun.
PiperOrigin-RevId: 188106818
|
|
|
|
|
|
| |
compiling XLA.
PiperOrigin-RevId: 188102740
|
|
|
|
| |
PiperOrigin-RevId: 188102388
|
|
|
|
| |
PiperOrigin-RevId: 188100425
|