code: def __init__(self, activation_type, d_out, bidirectional=False):
      SRU_Compute.maybe_load_sru_mod()
      super(SRU_Compute, self).__init__()
      self.activation_type = activation_type
      self.d_out = d_out
      self.bidirectional = bidirectional
  
imports: import subprocess
  import platform
  import os
  import re
  import configargparse
  import torch
  import torch.nn
  from torch.autograd import Function
  from torch.cuda.amp import custom_fwd, custom_bwd
  from collections import namedtuple
label_desc: Use image node_id 1 to create a new SRU_Compute object from inherited base classes: Function with example: obj = SRU_Compute(activation_type, d_out, bidirectional)