class_docstr: ### Shift right operation
  
  This shifts the sequence to the right by the given number of steps
docstr: * `shift` is the number of steps to shift by
code: def __init__(self, shift: int):
      """
      * `shift` is the number of steps to shift by
      """
      super().__init__()
      # cannot be negative
      assert shift >= 0
      #
      self.shift = shift
  
imports: from typing import List
  import torch
  from torch import nn
  from labml_helpers.module import Module
  from labml_nn.transformers import MultiHeadAttention, TransformerLayer
  from labml_nn.transformers.feed_forward import FeedForward
  from labml_nn.transformers.utils import subsequent_mask
label_desc: Use image node_id 1 to create a new ShiftRight object from inherited base classes: Module with example: obj = ShiftRight(shift)