def METHOD_NAME(self, sequence_length):
    """Getting computational complexity.
    ref: https://github.com/Lyken17/pytorch-OpCounter/blob/509fb7e7e48faaddd4b436371ccd39ede77f1f4a/thop/vision/counter.py#L16
    """
    total_flops = 0
    output_size = sequence_length * self.samples["weight"].size(0)
    in_channel_div_groups = self.samples["weight"].size(1)
    kernel_size = self.kernel_size
    bias = 1 if self.samples["bias"] is not None else 0
    total_flops += output_size * (in_channel_div_groups * kernel_size + bias)
    return total_flops