awslabs / sagemaker-debugger

Amazon SageMaker Debugger provides functionality to save tensors during training of machine learning jobs and analyze those tensors
Apache License 2.0
161 stars 83 forks source link

Modify Asserts to Work with TF 2.1.0 and TF 2.0.0 #380

Closed NihalHarish closed 4 years ago

NihalHarish commented 4 years ago

Description of changes:

Style and formatting:

I have run pre-commit install to ensure that auto-formatting happens with every commit.

Issue number, if available

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

codecov-io commented 4 years ago

Codecov Report

Merging #380 into master will increase coverage by 0.01%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #380      +/-   ##
==========================================
+ Coverage   85.49%   85.50%   +0.01%     
==========================================
  Files          86       86              
  Lines        6514     6514              
==========================================
+ Hits         5569     5570       +1     
+ Misses        945      944       -1     
Impacted Files Coverage Δ
smdebug/core/utils.py 84.03% <0.00%> (+0.46%) :arrow_up:

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 b1f8756...f2ccb75. Read the comment docs.