* Point optimizer to tf.keras.optimizer.legacy.Optimizer to be compatible with Keras optimizer migration
* small fix
* add version control
* small fix
* Update discriminative_layer_training.py
* fix version control
* small fix
* move optimizer class to __init__.py
* small fix
* fix problems
* small fix
* Rename BaseOptimizer to KerasLegacyOptimizer
* exclude keras optimizer from type check
* fix import
* Add experimental_implements attribute to dense_image_warp
This attribute will help the TFLite conversion.
* fix backdrop test error
* add to experimental allowlist
* Move the tf.keras.layers.PeepholeLSTMCell to tfa
This cell was exported under tf core API as an experimental since 2.0, but I think tfa should be a better place for this implementation.
We are planing to deprecate and eventually remove the PeepholeLSTMCell in the tf core API once this is landed.
* Update peephole lstm cell test with golden values.
We removed the v1 compat API since TFA only works with TF v2.
* Add PeepholeLSTMCell to the exception list for typehint check.
The cell itself doesn't have __init__ and it inherit the __init__ from keras.LSTMcell, which doesn't have type hint yet.
* Fix format.
* Update build method to be more aligned with py3 style.
* Remove tf.control_dependencies from SWA
* Wrap `average_op` in `tf.function`
* Replace tf.where with python if
* Use locking param for assign
* Remove SWA from exceptions
* Removed run_all_in_graph_and_eager_mode in attention_wrapper_test.py.
* Refactoring.
* Some black bug.
* Done one test.
* Fuse functions.
* Rewrite with unittest2pytest.
* Moved function.
* Removed use gpu.
* Remove prints.
* Removed one assertAllclose.
* Removed some more self.
* Removed some more self.
* Moved function out of class.
* Removed one function.
* Removed some self.
* Moved a function out of tf.test.TestCase.
* Removed decorator.
* IIII
* Removed the run functions eagerly.
* Removed import.
* Removed is_multi.
* Removed self for batch.
* Removed some more self.
* Removed some more self.
* Removed some stuff.
* Unholy stuff there.
* Found a way to replace that.
* Works well.
* Removed self completely from function.
* Removed self from parameters.
* Managed to move the function.
* It works with pytest only.
* Fully converted to pytest.
* Minor simplification.
* Some comment.
* Removed some unused functions.
* Removed some elements from the test_no_deprecated_v1.
* Removed some files from blacklists.
* Forgot to remove run_eagerly.
* Removed tf.executing_eagerly.
* Added a minimal check to ensure we don't use tf private API.
* Group tests together.
* Run pytest on the directory.
* Group stuff together.
* Remove no-deps.
* Change the path in contributing.