PetrochukM / PyTorch-NLP

Basic Utilities for PyTorch Natural Language Processing (NLP)
https://pytorchnlp.readthedocs.io
BSD 3-Clause "New" or "Revised" License
2.21k stars 258 forks source link

fix a little bug in weight_drop.py #76

Closed rishishian closed 5 years ago

rishishian commented 5 years ago

A little bug in torchnlp/nn/weight_drop.py corresponding issue

codecov-io commented 5 years ago

Codecov Report

Merging #76 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #76   +/-   ##
=======================================
  Coverage   94.06%   94.06%           
=======================================
  Files          57       57           
  Lines        1534     1534           
=======================================
  Hits         1443     1443           
  Misses         91       91
Impacted Files Coverage Δ
torchnlp/nn/weight_drop.py 100% <100%> (ø) :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 f57af13...eb28005. Read the comment docs.

PetrochukM commented 5 years ago

Thank you!