class_docstr: `nn.Module` wrapping a `torch.autograd.Function`.
class_docstr_tok: ["`","nn.Module","`","wrapping","a","`","torch.autograd.Function","`","."]
docstr: Wraps the `forward` method of `func`.
docstr_tok: ["Wraps","the","`","forward","`","method","of","`","func","`","."]
code: def forward(self, *inputs):
      """Wraps the `forward` method of `func`."""
      return self.func.apply(*inputs)
  
file_path: advertorch/advertorch/bpda.py
imports: import torch
  import torch.nn
label_desc: Use image node_id 2 for calling the FunctionWrapper obj's underlying member method code with example usage: obj.forward() and returns: self