Layer.useAttention

Function/Meaning
Whether to use attention information
Type
Property of Layer class (read/write)
Description
Indicates whether to use attention information. You can also set the value.
If true is specified, the attention information of that layer is used.
If false is specified, the attention information of the layer's parent (if any) is used.
Reference
Layer.setAttentionPos
Layer.attentionLeft
Layer.attentionTop