Skip to content
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

Start working on TensorFlow 2.0 compatibility #250

Closed
wants to merge 20 commits into from

Conversation

gpengzhi
Copy link
Collaborator

@gpengzhi gpengzhi commented Nov 22, 2019

This PR mainly contains hyperparams.py, module_base.py, utils/mode.py, and utils/utils.py.

embedders module added.
networks module added.
encoders module added.
pretrained module added.
data module added.
tokenizer module added.

@ZhitingHu
Copy link
Member

Where is this file docs/_static/img/texar_modules_big.png from?

@gpengzhi
Copy link
Collaborator Author

Where is this file docs/_static/img/texar_modules_big.png from?

Same picture we used in texar-pytorch.

CHANGELOG.md Show resolved Hide resolved
README.md Show resolved Hide resolved
setup.py Outdated Show resolved Hide resolved
texar/tf/hyperparams.py Show resolved Hide resolved
texar/tf/module_base.py Show resolved Hide resolved
texar/tf/version.py Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Nov 22, 2019

Codecov Report

❗ No coverage uploaded for pull request base (TensorFlow-2.0@676c66a). Click here to learn what that means.
The diff coverage is 57.89%.

Impacted file tree graph

@@                Coverage Diff                @@
##             TensorFlow-2.0     #250   +/-   ##
=================================================
  Coverage                  ?   74.74%           
=================================================
  Files                     ?       69           
  Lines                     ?     4055           
  Branches                  ?        0           
=================================================
  Hits                      ?     3031           
  Misses                    ?     1024           
  Partials                  ?        0
Impacted Files Coverage Δ
texar/tf/data/data/data_iterators.py 82.35% <ø> (ø)
texar/tf/modules/embedders/embedder_utils.py 92% <ø> (ø)
texar/tf/modules/embedders/__init__.py 100% <ø> (ø)
texar/tf/data/data/tfrecord_data_test.py 93.61% <ø> (ø)
texar/tf/hyperparams_test.py 95.94% <ø> (ø)
texar/tf/modules/embedders/embedder_base.py 93.87% <ø> (ø)
texar/tf/data/data/tfrecord_data.py 93.33% <ø> (ø)
texar/tf/data/vocabulary.py 80.72% <ø> (ø)
texar/tf/modules/encoders/transformer_encoder.py 95.74% <ø> (ø)
texar/tf/data/data/data_base.py 86.66% <ø> (ø)
... and 34 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 676c66a...9bcb7b4. Read the comment docs.

texar/tf/modules/embedders/embedders.py Outdated Show resolved Hide resolved
texar/tf/modules/embedders/embedders.py Outdated Show resolved Hide resolved
texar/tf/modules/embedders/embedders.py Outdated Show resolved Hide resolved
texar/tf/modules/embedders/position_embedders.py Outdated Show resolved Hide resolved
@gpengzhi gpengzhi force-pushed the tf2-start branch 2 times, most recently from 721b317 to bee7e4d Compare December 6, 2019 21:16
@gpengzhi gpengzhi removed the request for review from huzecong December 19, 2019 22:18
@gpengzhi
Copy link
Collaborator Author

Close this PR for now for development, Will reopen it soon.

@gpengzhi gpengzhi closed this Feb 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants