| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
keras.SimpleRNNCell.
PiperOrigin-RevId: 215249611
|
|
|
|
| |
PiperOrigin-RevId: 215005698
|
|
|
|
|
|
|
|
|
| |
the duration of a single RunInternal() call from RunHandlerPool. It is used for
running inter-op closures with a global scheduler (which in the future) to
improve both median and tail latency (for use-cases like CPU inference).
In the case that global pools aren't used, this change should be a no-op.
PiperOrigin-RevId: 214992852
|
|
|
|
| |
PiperOrigin-RevId: 214853846
|
|
|
|
|
|
| |
(finite) dataset to a single element.
PiperOrigin-RevId: 214852364
|
|
|
|
| |
PiperOrigin-RevId: 214824023
|
|
|
|
|
|
|
|
|
| |
the duration of a single RunInternal() call from RunHandlerPool.
We want to leverage this abstraction for improving the cross-session inter-op
parallelism for lower latency inference in the future.
In the case that global pools aren't used, this change should be a no-op.
PiperOrigin-RevId: 214818187
|
|
|
|
|
|
| |
based on standard ranges.
PiperOrigin-RevId: 214796357
|
|
|
|
| |
PiperOrigin-RevId: 214700693
|
|
|
|
|
|
|
|
|
|
| |
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: 214462540
|
| |
| |
| |
| | |
PiperOrigin-RevId: 214376416
|
| |
| |
| |
| | |
PiperOrigin-RevId: 214263489
|
|\ \
| | |
| | |
| | | |
PiperOrigin-RevId: 214177065
|
| | |
| | |
| | |
| | | |
PiperOrigin-RevId: 213863392
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
standard python `print` method, and deprecates the old `tf.Print` operator (to be removed in in v2.0).
It follows the design doc specified in https://github.com/tensorflow/community/pull/14 and additionally incorporates the community feedback and design review decisions.
This CL adds two new internal graph operators: a StringFormat operator that formats a template string with a list of input tensors to insert into the string and outputs a string scalar containing the result, and a PrintV2 operator that prints a string scalar to a specified output stream or logging level.
The formatting op is exposed at `tf.strings.Format`. A new python method is exposed at `tf.print` that takes a list of inputs that may be nested structures and may contain tensors, formats them nicely using the formatting op, and returns a PrintV2 operator that prints them. In Eager mode and inside defuns this PrintV2 operator will automatically be executed, but in graph mode it will need to be either added to `sess.run`, or used as a control dependency for other operators being executed.
As compared to the previous print function, the new print function:
- Has an API that more closely aligns with the standard python3 print
- Supports changing the print logging level/output stream
- allows printing arbitrary (optionally nested) data structures as opposed to just flat lists of tensors
- support printing sparse tensors
- changes printed tensor format to show more meaningful summary (recursively print the first and last elements of each tensor dimension, instead of just the first few elements of the tensor irregardless of dimension).
PiperOrigin-RevId: 213709924
|
| | |\
| |_|/
|/| |
| | | |
ENH/feature_importances_for_boosted_tree
|
| | |
| | |
| | |
| | |
| | |
| | | |
directional feature contributions); fixed ExampleDebugOutputs bug where it errors with empty trees.
PiperOrigin-RevId: 213658470
|
| | |
| | |
| | |
| | | |
PiperOrigin-RevId: 213549838
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
drop_remainder)`, which can be used for combining elements of input dataset into "windows". A window
is itself a finite dataset and, among other things, can be used for generalized batching (see https://github.com/tensorflow/community/pull/5 for details).
PiperOrigin-RevId: 213360134
|
| | |
| | |
| | |
| | |
| | |
| | | |
closes #21790, fixes #21735
PiperOrigin-RevId: 213003724
|
| | |
| | |
| | |
| | | |
PiperOrigin-RevId: 212847619
|
| | |
| | |
| | |
| | | |
PiperOrigin-RevId: 212828094
|
| | |\
| |_|/
|/| | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
input_layer.
PiperOrigin-RevId: 212528172
|
| | |
| | |
| | |
| | | |
PiperOrigin-RevId: 212516939
|
| | |
| | |
| | |
| | | |
PiperOrigin-RevId: 212333784
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
GradientTape.
For more complex use cases this allows fine grained control over what is tracked
by the tape.
PiperOrigin-RevId: 211948236
|
| | |
| | |
| | |
| | |
| | |
| | | |
Plumb these through to RecordWriterOptions
PiperOrigin-RevId: 211894734
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
`tf.data.Dataset.interleave`.
Unlike the `tf.data.contrib.parallel_interleave` whose parallelism is tied to the `cycle_length` argument, the newly introduced `num_parallel_calls` argument of `tf.data.Dataset.interleave` is decoupled from the `cycle_length` argument and identifies the degree of parallelism to use for fetching output elements.
PiperOrigin-RevId: 211886816
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Previously take_grad represents the average gradients being aggregated.
However this does not cover other use cases such as summing quantiles,
or summing probability distributions from parallel workers. This change
extends the functionality.
PiperOrigin-RevId: 211824519
|
| | |
| | |
| | |
| | |
| | |
| | | |
These APIs are based on queue runners, which have been deprecated and will be removed in TensorFlow 2.0. They have been replaced with `tf.data.Dataset`, which provides a more efficient version of the same functionality.
PiperOrigin-RevId: 211727844
|
| | |
| | |
| | |
| | |
| | |
| | | |
second axis of Tensors through tf.train.warm_start. Note that the underlying initializer already has this functionality (for example, for output layers).
PiperOrigin-RevId: 211709879
|
| | |
| | |
| | |
| | |
| | |
| | | |
These APIs are based on queue runners, which have been deprecated and will be removed in TensorFlow 2.0. They have been replaced with `tf.data.Dataset`, which provides a more efficient version of the same functionality.
PiperOrigin-RevId: 211708268
|
| | |
| | |
| | |
| | |
| | |
| | | |
These APIs are based on queue runners, which have been deprecated and will be removed in TensorFlow 2.0. They have been replaced with `tf.data.Dataset`, which provides a more efficient version of the same functionality.
PiperOrigin-RevId: 211700442
|
| | |
| | |
| | |
| | |
| | |
| | | |
value}}` and `^^key:value^^`. This change consolidate these two format.
PiperOrigin-RevId: 211550259
|
|\ \ \
| | | |
| | | |
| | | | |
PiperOrigin-RevId: 211169413
|
| |_|/
|/| |
| | |
| | | |
PiperOrigin-RevId: 211082479
|
| | |
| | |
| | |
| | |
| | |
| | | |
Fix order of arguments to `get_local_variable()` to match `get_variable()`.
PiperOrigin-RevId: 211005616
|
| | |
| | |
| | |
| | |
| | |
| | | |
and TruncatedNormal.
PiperOrigin-RevId: 210999565
|
| | |
| | |
| | |
| | |
| | |
| | | |
Queue runners will be removed in TensorFlow 2.0. They have been replaced with `tf.data` input pipelines, which provide a more efficient version of the same functionality.
PiperOrigin-RevId: 210964268
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
step counter. This allows us to get rid of the increment_var()
function and just use a standard assign_add().
PiperOrigin-RevId: 210743165
|
| | |
| | |
| | |
| | |
| | |
| | | |
validates the true shape of the tensor at runtime.
PiperOrigin-RevId: 210570878
|
| | |
| | |
| | |
| | |
| | |
| | | |
to stage TF 2.0 removal of export_savedmodel. The new export_saved_model will not have the option to strip_default_attrs; the new behavior is that default attributes are always stripped.
PiperOrigin-RevId: 210559617
|
| | |
| | |
| | |
| | |
| | |
| | | |
Running the API compatibility test only checks for pbtxt files under directory
v1. Manually added extract_volume_patches under v2 as extract_image_patches is
registered under v2 as well.
|
| | |
| | |
| | |
| | | |
PiperOrigin-RevId: 210505860
|
| | | |
|
| | |
| | |
| | |
| | | |
PiperOrigin-RevId: 209986849
|