AttentionAugmentationLayer2D | R Documentation |
Attention augmentation layer (2-D)
output of tensor shape batchSize, height, width, depthOfQueries.
number of filters for queries.
number of filters for values.
number of attention heads to use. It is required that depthOfQueries/numberOfHeads > 0.
whether or not to use relative encodings.
$initialize
instantiates a new class.
$call
main body.
$compute_output_shape
computes the output shape.
Tustison NJ
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.