| Commit message (Collapse) | Author | Age |
|
|
|
| |
PiperOrigin-RevId: 216452496
|
|
|
|
| |
PiperOrigin-RevId: 216443201
|
|
|
|
| |
PiperOrigin-RevId: 216410913
|
|
|
|
| |
PiperOrigin-RevId: 216400726
|
|
|
|
| |
PiperOrigin-RevId: 216395709
|
|
|
|
| |
PiperOrigin-RevId: 216392772
|
|
|
|
| |
PiperOrigin-RevId: 216370193
|
|
|
|
|
|
|
|
| |
Doesn't attempt to deal with cases where we might have already generated
the functiondef for the parent function as in that case we cannot easily
modify the forward pass.
PiperOrigin-RevId: 216243224
|
|
|
|
| |
PiperOrigin-RevId: 216217887
|
|\
| |
| |
| | |
PiperOrigin-RevId: 216217509
|
| |
| |
| |
| | |
PiperOrigin-RevId: 216000752
|
|\ \
| | |
| | |
| | | |
PiperOrigin-RevId: 215995215
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
stateless_random_uniform now take minval+maxval and handles ints,
and stateless_normal/stateless_truncated_normal take mean+stddev.
Additionally, all of the stateless functions now have proper doc
strings.
This is step one of moving stateless random numbers out of contrib.
|
|\ \ \
| | | |
| | | |
| | | | |
PiperOrigin-RevId: 215947463
|
| | | |
| | | |
| | | |
| | | | |
PiperOrigin-RevId: 215935319
|
| | | |
| | | |
| | | |
| | | | |
PiperOrigin-RevId: 215791283
|
| | | |
| | | |
| | | |
| | | | |
PiperOrigin-RevId: 215788485
|
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
"character" is treated:
* BYTE: Position & length refer to bytes in the string. (Default)
* UTF8: The string is interpreted as UTF-8 encoded Unicode code points, and position & length are treated relative to them.
RELNOTES: Add option to get substring using Unicode characters
PiperOrigin-RevId: 215773373
|
| | |
| | |
| | |
| | | |
PiperOrigin-RevId: 215617800
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
`set_stats_aggregator`. `tag` would get prep-end with all the statistics recorded as summary and `counter_prefix` would set the prefix for the statistics recorded as counter.
Note: `counter` defaults to `\tensorflow`, and `tag` and `prefix` gets associated with the dataset (not the stats_aggregator).
PiperOrigin-RevId: 215609159
|
| | |
| | |
| | |
| | |
| | |
| | | |
and the rank derived from the permutation array is 0 or 1, the shape is ambiguous and cannot be determined at graph construction time. In this case, forward the shape of the input.
PiperOrigin-RevId: 215583050
|
| | |
| | |
| | |
| | | |
PiperOrigin-RevId: 215501709
|
| | |
| | |
| | |
| | | |
PiperOrigin-RevId: 215492782
|
| | |
| | |
| | |
| | | |
PiperOrigin-RevId: 215448397
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
may be replaced by automatic shape inference in TF 2.0 (or before).
Add a output_shapes attr to While op to allow output shapes to be different from the incoming loop_vars.
PiperOrigin-RevId: 215446737
|
| | |
| | |
| | |
| | | |
PiperOrigin-RevId: 214946257
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
NOTE: All ops and kernels previously previously defined in
tensorflow/contrib/data have had their name prefixed with
"Experimental" to indicate that they are not (yet) stable, and thus
not subject to backwards or forwards compatibility guarantees.
PiperOrigin-RevId: 214940819
|
| | |
| | |
| | |
| | | |
PiperOrigin-RevId: 214863042
|
| | |
| | |
| | |
| | |
| | |
| | | |
(finite) dataset to a single element.
PiperOrigin-RevId: 214852364
|
| | |
| | |
| | |
| | | |
PiperOrigin-RevId: 214807362
|
| | |
| | |
| | |
| | |
| | |
| | | |
based on standard ranges.
PiperOrigin-RevId: 214796357
|
|\ \ \
| | | |
| | | |
| | | | |
PiperOrigin-RevId: 214726180
|
| | | |
| | | |
| | | |
| | | | |
PiperOrigin-RevId: 214701926
|
| | | |
| | | |
| | | |
| | | | |
PiperOrigin-RevId: 214700693
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The purpose of these ops is to fix a latency problem observed for an inference benchmark. Often a inference step starts by reading the value of many (hundreds) of weights. For a resource variable, this requires a VarHandleOp and a ReadVariableOp per variable. Running hundreds of trivial ops can add hundreds of microseconds of latency to the critical path of an inference step. The inter-op latency of the executor can be hundreds of nanoseconds, which rapidly adds up.
This change introduces two fused ops _VarHandlesOp and _ReadVariablesOp that allow us to read many variables in a pair of larger ops, rather than many tiny ops.
PiperOrigin-RevId: 214662338
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
data_format attr.
PiperOrigin-RevId: 214608039
|
| | | |\
| |_|_|/
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
These ops were never intended to support integer dtypes, and the
OpKernels have already been removed in a previous patch.
PiperOrigin-RevId: 214542750
|
| | | |
| | | |
| | | |
| | | | |
PiperOrigin-RevId: 214493515
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
length" is defined:
* BYTE: The number of bytes in each string. (Default)
* UTF8: The number of UTF-8 encoded Unicode code points in each string.
RELNOTES: Add option to calculate string length in Unicode characters
PiperOrigin-RevId: 214478470
|
| | | |
| | | |
| | | |
| | | | |
PiperOrigin-RevId: 214448656
|
| | | |
| | | |
| | | |
| | | | |
PiperOrigin-RevId: 214179792
|
|\ \ \ \
| | | | |
| | | | |
| | | | | |
PiperOrigin-RevId: 214177065
|
| | | | |
| | | | |
| | | | |
| | | | | |
PiperOrigin-RevId: 214174935
|
| | | | |
| | | | |
| | | | |
| | | | | |
PiperOrigin-RevId: 214173896
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
PiperOrigin-RevId: 213873471
|
| | | | |
| | | | |
| | | | |
| | | | | |
PiperOrigin-RevId: 213863392
|
| | | | |
| | | | |
| | | | |
| | | | | |
PiperOrigin-RevId: 213729979
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | | |
PiperOrigin-RevId: 213726710
|