pytorch / csprng

Cryptographically secure pseudorandom number generators for PyTorch
https://github.com/pytorch/csprng
BSD 3-Clause "New" or "Revised" License
106 stars 25 forks source link

Add support for half and bfloat16 #122

Closed pbelevich closed 3 years ago

pbelevich commented 3 years ago

Fixes https://github.com/pytorch/csprng/issues/121

Stack from ghstack:

Differential Revision: D26969175

codecov[bot] commented 3 years ago

Codecov Report

Merging #122 (aa4e557) into gh/pbelevich/64/base (5cbde12) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@                  Coverage Diff                  @@
##           gh/pbelevich/64/base     #122   +/-   ##
=====================================================
  Coverage                 66.66%   66.66%           
=====================================================
  Files                         1        1           
  Lines                         6        6           
=====================================================
  Hits                          4        4           
  Misses                        2        2           

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 5cbde12...aa4e557. Read the comment docs.

facebook-github-bot commented 3 years ago

@pbelevich merged this pull request in pytorch/csprng@0f1c579d56df637a3efc2aedafd49f8e54e07f06.