class_docstr: Directly mutate user input in forward
class_docstr_tok: ["Directly","mutate","user","input","in","forward"]
code: def forward(self, x):
      x.mul_(2)
      return x.cos()
  
imports: import torch
  from torch._export.db.case import export_case, SupportLevel
label_desc: Use image node_id 1 for calling the UserInputMutation obj's underlying member method code with example usage: obj.forward(x) and returns: x