Introduction
Get Started
Prepare your data
Cerebras PyTorch API
cerebras_pytorch
cerebras_pytorch.amp
cerebras_pytorch.optim
cerebras_pytorch.sparse
cerebras_pytorch.metrics
Cerebras Model Zoo
Cerebras Guides
Fundamentals
Support
Generates an upper-triangular matrix of -inf, with zeros on diag.
previous
modelzoo.transformers.pytorch.layers_api_demo.pytorch_transformer
next
modelzoo.transformers.pytorch.layers_api_demo.pytorch_transformer.PositionalEncoding