class_docstr: Model wrapper that implements::
  
      def forward(self, input):
          return input.half()
class_docstr_tok: ["Model","wrapper","that","implements",":",":","def","forward","(","self",",","input",")",":","return","input.half","(",")"]
code: def forward(self, input):
      return input.half()
  
imports: import torch
  import torch.nn
  from torch._utils import _flatten_dense_tensors, _unflatten_dense_tensors
label_desc: Use image node_id 2 for calling the tofp16 obj's underlying member method code with example usage: obj.forward(input) and returns: input