addons/tensorflow_addons/image
C. Antonio Sánchez 3380b3ccf9
Fix tf-addons for upcoming keras 3 default. (#2858)
Keras 3.0 will become default in TF 2.16 (and is currently default in
tf-nightly).  This breaks this tf-addons package.  Here we make
minimal changes to return functionality in a backward-compatible way.
2023-12-12 20:29:27 -08:00
..
tests Fix tf-addons for upcoming keras 3 default. (#2858) 2023-12-12 20:29:27 -08:00
BUILD
README.md
__init__.py
color_ops.py Cleanup `tfa.image.equalize` (#2711) 2022-05-24 15:35:09 +02:00
compose_ops.py
connected_components.py
cutout_ops.py Fix Cutout memory leak (#2815) 2023-02-28 16:55:33 +08:00
dense_image_warp.py Pure tf.functions can't have None inputs (#2837) 2023-06-21 15:38:08 +02:00
distance_transform.py
distort_image_ops.py
filters.py
interpolate_spline.py
resampler_ops.py
sparse_image_warp.py
transform_ops.py
translate_ops.py
utils.py

README.md

Addons - Image

Components

https://www.tensorflow.org/addons/api_docs/python/tfa/image

Contribution Guidelines

Standard API

In order to conform with the current API standard, all image ops must:

  • Be a standard image processing technique
  • Must be impossible to implement in one of the other API standards (Layers, Losses, etc.).

Testing Requirements

  • Simple unittests that demonstrate the image op is behaving as expected.
  • To run your tf.functions in eager mode and graph mode in the tests, you can use the @pytest.mark.usefixtures("maybe_run_functions_eagerly") decorator. This will run the tests twice, once normally, and once with tf.config.run_functions_eagerly(True).

Documentation Requirements