class_docstr: IDWTFunction
class_docstr_tok: ["IDWTFunction"]
code: def forward(ctx, x, filters):
      ctx.save_for_backward(filters)
      ctx.shape = x.shape
  
      b, _, h, w = x.shape
      x = x.view(b, 4, -1, h, w).transpose(1, 2)
      c = x.shape[1]
      x = x.reshape(b, -1, h, w)
      filters = filters.repeat(c, 1, 1, 1)
      x = torch.nn.functional.conv_transpose2d(
          x, filters, stride=2, groups=c
      )
      return x
  
imports: import torch
  from torch import nn
  from torch.autograd import Function
  import pywt
  from functools import partial
label_desc: Use image node_id 1 for calling the IDWTFunction obj's underlying member method code with example usage: obj.forward(ctx, x, filters) and returns: x