code: def to_dtype_video(
      video: torch.Tensor,
      dtype: torch.dtype = torch.float,
      scale: bool = False,
  ) -> torch.Tensor:
      return to_dtype_image(video, dtype, scale=scale)
  
imports: import math
  from typing import List, Optional
  import PIL.Image
  import torch
  from torch.nn.functional import conv2d, pad
  from torchvision import tv_tensors
  from torchvision.transforms._functional_tensor import _max_value
  from torchvision.transforms.functional import pil_to_tensor, to_pil_image
  from torchvision.utils import _log_api_usage_once
  from ._utils import _get_kernel, _register_kernel_internal
label_desc: Use image node_id 14 for calling a global function with example usage: to_dtype_video(video, dtype, scale) and returns: to_dtype_image