다음을 통해 공유


Attention 클래스

정의

주의 계층입니다.

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)
상속
torch.nn.Module<TorchSharp.torch.Tensor,TorchSharp.torch.Tensor,TorchSharp.torch.Tensor>
Attention

생성자

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

Attention 클래스의 새 인스턴스를 초기화합니다.

메서드

forward(torch+Tensor, torch+Tensor)

주의 계층입니다.

적용 대상