code: def _astype(x, dtype):
      return x.type(getattr(torch, dtype))
  
imports: import numbers
  import typing
  import torch
  import funsor.ops
label_desc: Use image node_id 14 for calling a global function with example usage: _astype(x, dtype) and returns: x