Attention Classe

Definição

A camada Atenção.

public class Attention : TorchSharp.torch.nn.Module<TorchSharp.torch.Tensor,TorchSharp.torch.Tensor,TorchSharp.torch.Tensor>
Herança
torch.nn.Module<TorchSharp.torch.Tensor,TorchSharp.torch.Tensor,TorchSharp.torch.Tensor>
Attention

Construtores

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

Inicializa uma nova instância da classe Attention.

Métodos

Dispose(Boolean)

A camada Atenção.

forward(torch+Tensor, torch+Tensor)

A camada Atenção.

Aplica-se a

Produto Versões
ML.NET 3.0.0, 4.0.0, Preview