class_docstr: To ensure the output length is the same as the input.
docstr: Forward.
  
  Args:
      x: [M, H, Kpad]
  
  Returns:
      [M, H, K]
docstr_tok: ["Forward",".","Args",":","x",":","[","M",",","H",",","Kpad","]","Returns",":","[","M",",","H",",","K","]"]
code: def forward(self, x):
      """Forward.
  
      Args:
          x: [M, H, Kpad]
  
      Returns:
          [M, H, K]
      """
      return x[:, :, : -self.chomp_size].contiguous()
  
imports: import torch
  import torch.nn
  import torch.nn.functional
  from espnet2.enh.layers.adapt_layers import make_adapt_layer
label_desc: Use image node_id 2 for calling the Chomp1d obj's underlying member method code with example usage: obj.forward(x) and returns: x