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 __init__(self):
      super(tofp16, self).__init__()
  
imports: import torch
  import torch.nn
  from torch._utils import _flatten_dense_tensors, _unflatten_dense_tensors
label_desc: Use image node_id 1 to create a new tofp16 object from inherited base classes: nn with example: obj = tofp16()