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

tf.accumulate_n -> tf.add_n #2815

Merged
merged 1 commit into from
Sep 14, 2023
Merged

Conversation

njzjz
Copy link
Member

@njzjz njzjz commented Sep 13, 2023

tf.accumulate_n has been deprecated, and from the source code, I see that tf.accumulate_n is just a wrapper of tf.add_n since TF 2.1 (tensorflow/tensorflow@292d309).

See:
https://www.tensorflow.org/api_docs/python/tf/math/accumulate_n
https://www.tensorflow.org/api_docs/python/tf/math/add_n

`tf.accumulate_n` has been deprecated, and from the source code, I see that `tf.accumulate_n` is just a wrapper of `tf.add_n` since TF 2.1 (tensorflow/tensorflow@292d309).

See:
https://www.tensorflow.org/api_docs/python/tf/math/accumulate_n
https://www.tensorflow.org/api_docs/python/tf/math/add_n

Signed-off-by: Jinzhe Zeng <[email protected]>
@codecov
Copy link

codecov bot commented Sep 13, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (959c129) 75.52% compared to head (4c4a415) 75.52%.
Report is 1 commits behind head on devel.

Additional details and impacted files
@@           Coverage Diff           @@
##            devel    #2815   +/-   ##
=======================================
  Coverage   75.52%   75.52%           
=======================================
  Files         242      242           
  Lines       24162    24162           
  Branches     1533     1533           
=======================================
  Hits        18249    18249           
  Misses       4997     4997           
  Partials      916      916           
Files Changed Coverage Δ
deepmd/descriptor/se_a.py 95.72% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@wanghan-iapcm wanghan-iapcm merged commit 58dd3e2 into deepmodeling:devel Sep 14, 2023
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants