MCPcopy Create free account
hub / github.com/MorvanZhou/NLP-Tutorials / _get_loss_mask

Function _get_loss_mask

BERT.py:41–45  ·  view source on GitHub ↗
(len_arange, seq, pad_id)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

do_maskFunction · 0.70
do_replaceFunction · 0.70
do_nothingFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected