MCPcopy Create free account
hub / github.com/LitLeo/TensorRT_Tutorial / make_pad_mask

Function make_pad_mask

Hackathon2022/encoder_small.py:4–11  ·  view source on GitHub ↗
(lengths: torch.Tensor, max_len: int = 0)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

forwardMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected