Condividi tramite


Attention Classe

Definizione

Livello Attenzione.

public class Attention : TorchSharp.torch.nn.Module<TorchSharp.torch.Tensor,TorchSharp.torch.Tensor,TorchSharp.torch.Tensor>
type Attention = class
    inherit torch.nn.Module<torch.Tensor, torch.Tensor, torch.Tensor>
Public Class Attention
Inherits torch.nn.Module(Of torch.Tensor, torch.Tensor, torch.Tensor)
Ereditarietà
torch.nn.Module<TorchSharp.torch.Tensor,TorchSharp.torch.Tensor,TorchSharp.torch.Tensor>
Attention

Costruttori

Attention(Int32, Int32, Int32, Int32, List<Int32>)

Inizializza una nuova istanza della classe Attention.

Metodi

Dispose(Boolean)

Livello Attenzione.

forward(torch+Tensor, torch+Tensor)

Livello Attenzione.

Si applica a