Search notes:

torch.nn.Transformer

torch.nn.Transformer implements a transformer model that is based on the 2017 paper Attention is all you need.
torch.nn.Transformer inherits from torch.nn.Module.

Index