| Commit message (Collapse) | Author | Age |
|\
| |
| |
| | |
PiperOrigin-RevId: 208278273
|
| |
| |
| |
| |
| |
| | |
The lower regularized incomplete Gamma function as defined in the documentation is P(a, x) but the heading for the function is Q(a, x). This is incorrect, Q(a, x) refers to the upper regularized incomplete Gamma function.
PiperOrigin-RevId: 208277703
|
| |
| |
| |
| | |
PiperOrigin-RevId: 208277185
|
| |
| |
| |
| | |
PiperOrigin-RevId: 208276989
|
| |
| |
| |
| |
| |
| | |
total, and number of ops predicted with unknown shapes
PiperOrigin-RevId: 208274158
|
| |
| |
| |
| | |
PiperOrigin-RevId: 208273960
|
| |
| |
| |
| | |
PiperOrigin-RevId: 208273008
|
| |
| |
| |
| |
| |
| | |
Renaming `AddParentDataset`, `SaveParent`, and `RestoreParent` to `AddInputDataset`, `SaveInput`, and `RestoreInput`.
PiperOrigin-RevId: 208272695
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The eager runtime mutates the FunctionLibraryRuntime's FunctionLibraryDefinition, which is shared across threads; at the same time, OpKernels might read the FunctionLibraryDefinition. This is not thread-safe unless FunctionLibraryDefinition is thread-safe.
This change makes FunctionLibraryDefinition, which is basically a map from function names to FunctionDefs, thread-safe. This is almost entirely accomplished by guarding the map with a mutex. There is however one complication: Find and RemoveFunction cannot be made thread-safe in a straightforward way (Find returns a raw pointer to a FunctionDef while Remove can delete the corresponding FunctionDef). In light of the fact that clients only ever call RemoveFunction when they in fact want to replace an existing function with a new one, we make the following modifications to FunctionLibraryDefinition's API:
1. A Contains method is added to check for the existence of a function.
2. A ReplaceFunction method is added.
3. RemoveFunction and RemoveGradient are made private.
We also update clients of the FunctionLibraryDefinition to use Contains & ReplaceFunction instead of Find and RemoveFunction.
PiperOrigin-RevId: 208271076
|
| |
| |
| |
| | |
PiperOrigin-RevId: 208270711
|
| |
| |
| |
| | |
PiperOrigin-RevId: 208269820
|
|\ \
| | |
| | |
| | |
| | |
| | | |
gibiansky:bugfix/tensorflow-lib-internal-linkopt-pthread
PiperOrigin-RevId: 208269546
|
|\ \ \
| | | |
| | | |
| | | | |
PiperOrigin-RevId: 208266944
|
|\ \ \ \
| | | | |
| | | | |
| | | | | |
PiperOrigin-RevId: 208266859
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | | |
PiperOrigin-RevId: 208266242
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
PiperOrigin-RevId: 208263100
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
PiperOrigin-RevId: 208262999
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | | |
PiperOrigin-RevId: 208262649
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
PiperOrigin-RevId: 208260479
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
loops.
PiperOrigin-RevId: 208260082
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
PiperOrigin-RevId: 208258892
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
PiperOrigin-RevId: 208257223
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | | |
PiperOrigin-RevId: 208257112
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Rollback breaking change.
END_PUBLIC
Automated rollback of commit 20622daa9db9d403a66111f5682367566e2bb8db. Revert #21038.
PiperOrigin-RevId: 208256026
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Fixes a bug in which the arg and retval node indices weren't rewritten when
a function was repartitioned by a StatefulPartitionedCallOp. Repartitioning can
occur when the kernel is visited with a previously unseen
FunctionLibraryRuntime.
PiperOrigin-RevId: 208255736
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
PiperOrigin-RevId: 208255199
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
PiperOrigin-RevId: 208255132
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
PiperOrigin-RevId: 208255119
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
PiperOrigin-RevId: 208254124
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
PiperOrigin-RevId: 208253747
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
PiperOrigin-RevId: 208251834
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
PiperOrigin-RevId: 208250121
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Allow a different output shape from the input in tf.contrib.image.transform (#17011).
END_PUBLIC
RELNOTES: Allow a different output shape from the input in tf.contrib.image.transform.
Thanks qyu@ for making the original change and fixing a few other prior issues!
Automated rollback of commit 07fdb697d33478d7a72d09fc2371fa834e870b83
PiperOrigin-RevId: 208248183
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Fix by holding reference to passed in model_content and relying on
immutability of PyString (pointer doesn't change).
PiperOrigin-RevId: 208244957
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
built manually.
PiperOrigin-RevId: 208244600
|
|\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
PiperOrigin-RevId: 208244350
|
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
tensorflow::string is sometimes ::string and sometimes std::string, which
makes code that uses both subtly dangerous. For example,
FactoryKeyCreator::AddAsKey() has an overload for tensorflow::string but had
many callsites passing a std::string, causing incorrect behavior on
the google platform.
PiperOrigin-RevId: 208244169
|
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
PiperOrigin-RevId: 208243676
|
|\ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
PiperOrigin-RevId: 208238767
|
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
Fixes #19062
PiperOrigin-RevId: 208235214
|
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
PiperOrigin-RevId: 208232511
|
|\ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
PiperOrigin-RevId: 208232199
|
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
PiperOrigin-RevId: 208229302
|
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
PiperOrigin-RevId: 208223617
|
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
PiperOrigin-RevId: 208220542
|
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
Modify ShapeVerifier::HandleRng to detect illegal Rng instructions.
Add test cases to test the handling of Rng instructions in the HLO verifier.
Modify the document for XLA random operations to reflect the supported data
types.
PiperOrigin-RevId: 208220062
|
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
PiperOrigin-RevId: 208219138
|
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
PiperOrigin-RevId: 208218148
|
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
There are few issues we will need to address in future.
1. TF RNN cell currently accept callable only as activation function, while keras allows string and convert to activation function. This cause a weird backward dependency from tf.nn.op to tf.keras. It will be nice to have a unified place for activation functions within TF.
2. There is a name conflict for few cells between Keras and TF, namely LSTMCell and GRUCell. The serial/de-serialization need special care since the tf.nn.rnn_cell is not visible to Keras.
Update TF LSTM Cell to support proper serialization.
PiperOrigin-RevId: 208217949
|
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
PiperOrigin-RevId: 208200028
|