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

Add integration test for truncated-normal op #1036

Merged
merged 1 commit into from
Jun 18, 2021

Conversation

AzizZayed
Copy link
Contributor

Description

Add the integration test for the truncated-normal operation. This test verifies the sample mean is within a certain range from the theoretical mean. It also checks the truncation, testing if all the sample points are within 2 standard deviations from the mean.

@codecov-commenter
Copy link

codecov-commenter commented Jun 18, 2021

Codecov Report

Merging #1036 (1011ad0) into master (4119d0d) will increase coverage by 0.08%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #1036      +/-   ##
============================================
+ Coverage     69.97%   70.06%   +0.08%     
- Complexity     5110     5117       +7     
============================================
  Files           504      504              
  Lines         22629    22629              
  Branches       2375     2375              
============================================
+ Hits          15835    15855      +20     
+ Misses         5523     5501      -22     
- Partials       1271     1273       +2     
Impacted Files Coverage Δ
api/src/main/java/ai/djl/ndarray/NDManager.java 57.43% <0.00%> (+0.67%) ⬆️
...pi/src/main/java/ai/djl/ndarray/BaseNDManager.java 57.40% <0.00%> (+7.40%) ⬆️
...ain/java/ai/djl/tensorflow/engine/TfNDManager.java 89.68% <0.00%> (+7.93%) ⬆️
api/src/main/java/ai/djl/util/RandomUtils.java 87.50% <0.00%> (+12.50%) ⬆️

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 4119d0d...1011ad0. Read the comment docs.

@frankfliu frankfliu merged commit 6a8b7ee into deepjavalibrary:master Jun 18, 2021
@AzizZayed AzizZayed deleted the tnormal-test branch June 18, 2021 07:42
Lokiiiiii pushed a commit to Lokiiiiii/djl that referenced this pull request Oct 10, 2023
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.

3 participants