Attention Classe
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
A camada Atenção.
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)
- 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
forward(torch+Tensor, torch+Tensor) |
A camada Atenção. |