code: def __init__(self, dtype, scale=False):
      self.dtype = dtype
      self.scale = scale
  
imports: import random
  import numpy
  import torch
  from torchvision import transforms
  from torchvision.transforms import functional
label_desc: Use image node_id 1 to create a new ToDtype object  with example: obj = ToDtype(dtype, scale)