Skip to content

#2066 doctest update layers #2109

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
aec8f47
Update multihead_attention.py
nataliyah123 Aug 22, 2020
1085a95
Update multihead_attention.py
nataliyah123 Aug 22, 2020
f6c9af8
Update polynomial.py
nataliyah123 Aug 22, 2020
8d55d32
Update spectral_normalization.py
nataliyah123 Aug 22, 2020
c9380f9
Update wrappers.py
nataliyah123 Aug 22, 2020
aaadabd
Update multihead_attention.py
nataliyah123 Aug 22, 2020
75ce434
Convert inputs to tensor (#2108)
WindQAQ Aug 22, 2020
dda46af
removed-blank-spaces-multihead_attension
nataliyah123 Aug 23, 2020
890c691
Update multihead_attention.py
nataliyah123 Aug 23, 2020
c39916e
Update multihead_attention.py
nataliyah123 Aug 23, 2020
bdcec98
removed_white_space_wrapper
nataliyah123 Aug 23, 2020
ead0550
spaces_deleted_multihead
nataliyah123 Aug 23, 2020
bd20f6c
spaces-removed
nataliyah123 Aug 23, 2020
1aca0a6
white_space_removed_wrapper
nataliyah123 Aug 23, 2020
e4a3bbe
white_space_removed_spectralnorm
nataliyah123 Aug 23, 2020
024b960
white_space_removed_polynomial
nataliyah123 Aug 23, 2020
8a343fa
Update polynomial.py
nataliyah123 Aug 23, 2020
195ca60
Update multihead_attention.py
nataliyah123 Aug 23, 2020
d001d70
Update spectral_normalization.py
nataliyah123 Aug 23, 2020
62bf924
Update spectral_normalization.py
nataliyah123 Aug 23, 2020
f3a50e7
Deprecate MultiHeadAttention (#2112)
WindQAQ Aug 23, 2020
37a046d
removed extra closing bracket from docstring
nataliyah123 Aug 24, 2020
2d8b06b
number of elements in key value must be same
nataliyah123 Aug 24, 2020
3aead8f
multiline_1
nataliyah123 Aug 24, 2020
c2217e0
multline_spectralnormalization
nataliyah123 Aug 24, 2020
bbbdf2a
provided a value for x
nataliyah123 Aug 24, 2020
5c455e5
Update spectral_normalization.py
nataliyah123 Aug 24, 2020
170fd89
inconsistent spaces removed
nataliyah123 Aug 24, 2020
e40a266
beautifier image doc (#2101)
WindQAQ Aug 25, 2020
6329e1a
Use bazelisk (#2097)
WindQAQ Aug 25, 2020
d922875
Update spectral_normalization.py
nataliyah123 Aug 25, 2020
6a33ea5
Update spectral_normalization.py
nataliyah123 Aug 25, 2020
efa907d
Update spectral_normalization.py
nataliyah123 Aug 25, 2020
3379673
Update spectral_normalization.py
nataliyah123 Aug 25, 2020
3458b2e
Update spectral_normalization.py
nataliyah123 Aug 25, 2020
8d98ed7
Update spectral_normalization.py
nataliyah123 Aug 25, 2020
630ed29
Update spectral_normalization.py
nataliyah123 Aug 25, 2020
b1fd61a
suggested change
nataliyah123 Aug 26, 2020
81a0fd0
Update multihead_attention.py
nataliyah123 Aug 26, 2020
3291e57
Update polynomial.py
nataliyah123 Aug 26, 2020
96dd9a0
Update polynomial.py
nataliyah123 Aug 26, 2020
1fa4d2b
Install tensorflow-addons in tutorials. (#2128)
MarkDaoust Aug 27, 2020
eab8dea
fix imports and layer naming (#2129)
MarkDaoust Aug 27, 2020
ef8b0c9
Fix namedtuple generated documentation (#2130)
guillaumekln Aug 28, 2020
9acab6a
Bump black (#2135)
gabrieldemarmiesse Aug 29, 2020
dc3aa06
fix typing of num_updates in moving_average (#2136)
rushabh-v Aug 30, 2020
7c084ab
Update polynomial.py
nataliyah123 Aug 30, 2020
130bd7a
Update polynomial.py
nataliyah123 Aug 30, 2020
aa43829
Update polynomial.py
nataliyah123 Aug 30, 2020
08741c9
Add experimental_aggregate_gradients support (#2137)
fsx950223 Aug 31, 2020
5ad3476
Added eager execution for doctest
nataliyah123 Aug 31, 2020
03d02c1
Fix unwrap dtype (#2121)
WindQAQ Sep 1, 2020
b2cf8ad
added the value for n_classes
nataliyah123 Sep 1, 2020
6f4a7e0
added-value-for-x
nataliyah123 Sep 1, 2020
a14e460
Update wrappers.py
nataliyah123 Sep 1, 2020
f3243cf
Update wrappers.py
nataliyah123 Sep 1, 2020
4a36c66
Update wrappers.py
nataliyah123 Sep 1, 2020
81a809f
Update wrappers.py
nataliyah123 Sep 1, 2020
1183104
Update wrappers.py
nataliyah123 Sep 1, 2020
ced3e44
Update wrappers.py
nataliyah123 Sep 1, 2020
ae05276
Add env variable (#2141)
bhack Sep 1, 2020
83d687c
Update wrappers.py
nataliyah123 Sep 1, 2020
3ae32ad
Update wrappers.py
nataliyah123 Sep 1, 2020
a8fd9c9
Update wrappers.py
nataliyah123 Sep 1, 2020
2bf57f8
Base optimizer tracking (#2126)
bhack Sep 1, 2020
d887043
Update wrappers.py
nataliyah123 Sep 1, 2020
61ebf40
Added extra requirements for tensorflow, tensorflow-gpu, and tensorfl…
tgaddair Sep 2, 2020
c177794
fix LayerNormalization use on the right axis (#2142)
albertz Sep 2, 2020
8d3789f
Update README.md (#2148)
seanpmorgan Sep 3, 2020
cc9d7b4
Update multihead_attention.py
nataliyah123 Sep 4, 2020
d466cb8
#2066 doctest update losses (#2138)
Harsh188 Sep 4, 2020
d049d58
Add doctest section (#2151)
WindQAQ Sep 8, 2020
fc2c796
nbfmt tutorial notebooks (#2155)
lamberta Sep 9, 2020
fc50c34
Support fill_mode for transform (#2153)
WindQAQ Sep 10, 2020
3d37870
Speedup gaussian kernel generation (#2149)
WindQAQ Sep 10, 2020
41133a3
Correct a typo in average_optimizers_callback.ipynb (#2159)
anuragarnab Sep 10, 2020
5bdaf40
Avoid unnecessary reshapes for instance norm (#2158)
kaixih Sep 11, 2020
7f6bcf7
beam search decoding procedure added to seq2seq_nmt tutorial (#2140)
abhishek-niranjan Sep 11, 2020
e3e0853
Setup notebook testing (#2160)
WindQAQ Sep 11, 2020
f1006eb
Update multihead_attention.py
nataliyah123 Sep 14, 2020
3897e2f
Discriminative Layer Training (#969)
hyang0129 Sep 14, 2020
adc06a7
fixed typo in multioptimizer class name and added code owners (#2164)
hyang0129 Sep 14, 2020
8320f16
Rnn testable doctests (#2147)
Harsh188 Sep 15, 2020
1c3c072
Added support for noisy dense layers. (#2099)
LeonShams Sep 15, 2020
dbcd5aa
Added stochastic depth layer (#2154)
MHStadler Sep 16, 2020
e2006c3
Added filtered_input and constrained_decoding (#2166)
napsternxg Sep 17, 2020
13e40e6
Moved build_docs.py and BUILD into /tools/docs/ (#2167)
hp77-creator Sep 18, 2020
710903f
#2066-doc-update-metrics-latest (#2171)
nataliyah123 Sep 22, 2020
c6910b9
Merge branch '#2066-doc-update_layers' of https://github.com/nataliya…
nataliyah123 Sep 22, 2020
84753ff
fixed multihead
nataliyah123 Sep 22, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added extra requirements for tensorflow, tensorflow-gpu, and tensorfl…
…ow-cpu (#2114)

* Added extra requirements for tensorflow, tensorflow-gpu, and tensorflow-cpu
  • Loading branch information
tgaddair authored Sep 2, 2020
commit 61ebf40b1cd97506e4e43bdcf30c20c43d1597cc
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,15 @@ run the following:
```
pip install tensorflow-addons
```

To ensure you have a version of TensorFlow that is compatible with TensorFlow Addons,
you can specify the `tensorflow` extra requirement during install:

```
pip install tensorflow-addons[tensorflow]
```

Similar extras exist for the `tensorflow-gpu` and `tensorflow-cpu` packages.


To use TensorFlow Addons:
Expand Down
11 changes: 11 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ def has_ext_modules(self):


project_name, version = get_project_name_version()
min_tf_version = version["MIN_TF_VERSION"]
max_tf_version = version["MAX_TF_VERSION"]
setup(
name=project_name,
version=version["__version__"],
Expand All @@ -86,6 +88,15 @@ def has_ext_modules(self):
packages=find_packages(),
ext_modules=get_ext_modules(),
install_requires=Path("requirements.txt").read_text().splitlines(),
extras_require={
"tensorflow": ["tensorflow>={},<{}".format(min_tf_version, max_tf_version)],
"tensorflow-gpu": [
"tensorflow-gpu>={},<{}".format(min_tf_version, max_tf_version)
],
"tensorflow-cpu": [
"tensorflow-cpu>={},<{}".format(min_tf_version, max_tf_version)
],
},
include_package_data=True,
zip_safe=False,
distclass=BinaryDistribution,
Expand Down
3 changes: 1 addition & 2 deletions tensorflow_addons/utils/ensure_tf_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@

import tensorflow as tf

MIN_TF_VERSION = "2.2.0"
MAX_TF_VERSION = "2.4.0"
from tensorflow_addons.version import MIN_TF_VERSION, MAX_TF_VERSION


def _check_tf_version():
Expand Down
4 changes: 4 additions & 0 deletions tensorflow_addons/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
# ============================================================================
"""Define TensorFlow Addons version information."""

# Required TensorFlow version [min, max)
MIN_TF_VERSION = "2.2.0"
MAX_TF_VERSION = "2.4.0"

# We follow Semantic Versioning (https://semver.org/)
_MAJOR_VERSION = "0"
_MINOR_VERSION = "12"
Expand Down