MCPcopy Index your code
hub / github.com/MorvanZhou/NLP-Tutorials / do_mask

Function do_mask

BERT.py:48–51  ·  view source on GitHub ↗
(seq, len_arange, pad_id, mask_id)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

random_mask_or_replaceFunction · 0.70

Calls 1

_get_loss_maskFunction · 0.70

Tested by

no test coverage detected