class_docstr: Absolute positional embedding adapter.
  
  .. note::
  
      Absolute positional embedding value is added to the input tensor *without residual connection* !
      Therefore, the input is changed, if you only require the positional embedding, drop the returned `x` !
  
  Args:
      d_model (int): The input dimension of x.
      max_len (int): The max sequence length.
      xscale (float): The input scaling factor. Defaults to 1.0.
      adapter_strategy (AbstractAdapterStrategy): By default, ReturnResultAdapterStrategyConfig.
          An adapter composition function object.
          NOTE: Since this is a positional encoding, it will not add a residual !
code: def get_default_strategy_config(self) -> "dataclass":
      return (
          adapter_mixin_strategies.ReturnResultAdapterStrategyConfig()
      )
  
imports: import math
  from dataclasses import dataclass, field
  from typing import Any, Optional
  import torch
  from torch import nn
  from nemo.collections.asr.parts.submodules import multi_head_attention
  from nemo.collections.common.parts import adapter_modules
  from nemo.core.classes.mixins import adapter_mixin_strategies
label_desc: Use image node_id 2 for calling the PositionalEncodingAdapter obj's underlying member method code with example usage: obj.get_default_strategy_config() and returns: adapter_mixin_strategies