Forward intermediates of one decode step, required by the backward pass.
Cache
01 Syntax
02 Fields
| Name | Overloads | Summary |
|---|---|---|
| Input | 2 | The input of this layer for the step. |
| MaskedAttention | 2 | Output of the masked self attention sub layer. |
| MaskedAttentionDropped | 2 | Masked self attention output after dropout. |
| Normalized1 | 2 | Result of the first AddNorm. |
| Norm1Mean | 2 | Mean used by the first layer normalization. |
| Norm1InvStd | 2 | Inverse standard deviation used by the first layer normalization. |
| CrossAttention | 2 | Output of the cross attention sub layer. |
| CrossAttentionDropped | 2 | Cross attention output after dropout. |
| Normalized2 | 2 | Result of the second AddNorm. |
| Norm2Mean | 2 | Mean used by the second layer normalization. |
| Norm2InvStd | 2 | Inverse standard deviation used by the second layer normalization. |
| FeedForwardOutput | 2 | Output of the feed forward sub layer. |
| FeedForwardDropped | 2 | Feed forward output after dropout. |
| Norm3Mean | 2 | Mean used by the third layer normalization. |
| Norm3InvStd | 2 | Inverse standard deviation used by the third layer normalization. |
| DropoutApplied | 2 | Indicates whether dropout was applied during this step. |
| MaskedCache | 2 | Forward cache snapshot of the masked self attention sub layer. |
| CrossCache | 2 | Forward cache snapshot of the cross attention sub layer. |
| FfCache | 2 | Forward cache snapshot of the feed forward sub layer. |
03 Members
The input of this layer for the step.
Output of the masked self attention sub layer.
Masked self attention output after dropout.
Result of the first AddNorm.
Mean used by the first layer normalization.
Inverse standard deviation used by the first layer normalization.
Output of the cross attention sub layer.
Cross attention output after dropout.
Result of the second AddNorm.
Mean used by the second layer normalization.
Inverse standard deviation used by the second layer normalization.
Output of the feed forward sub layer.
Feed forward output after dropout.
Mean used by the third layer normalization.
Inverse standard deviation used by the third layer normalization.
Indicates whether dropout was applied during this step.
Forward cache snapshot of the masked self attention sub layer.
Forward cache snapshot of the cross attention sub layer.
Forward cache snapshot of the feed forward sub layer.