class_docstr: Residual attention block for DRL.
class_docstr_tok: ["Residual","attention","block","for","DRL","."]
code: def forward(self, para_tuple: tuple):
      # x: torch.Tensor, attn_mask: torch.Tensor
      # print(para_tuple)
      x, attn_mask = para_tuple
      x = x + self.attention(self.ln_1(x), attn_mask)
      x = x + self.mlp(self.ln_2(x))
      return x, attn_mask
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import logging
  import torch
  from torch import nn
  from towhee.models.drl.until_module import LayerNorm
  from collections import OrderedDict
label_desc: Use image node_id 3 for calling the ResidualAttentionBlock obj's underlying member method code with example usage: obj.forward(para_tuple) and returns: x,  attn_mask