code: def __init__(
      self,
      executor: Callable = full_decode,
      decode_audio: bool = True,
      decoder: str = DecoderType.PYAV,
      fail_strategy="RAISE_ERROR",
      priority=0,
  ):
      # Decoding params
      self.decode_audio = decode_audio
      self.decoder = decoder
      # Hook params
      self.executor = executor
      self.inputs = ["path"]
      self.outputs = ["video", "audio"] if decode_audio else ["video"]
      self.fail_strategy = fail_strategy
      self.priority = priority
  
imports: from collections import OrderedDict
  from typing import Callable, List
  import attr
  import torch
  from pytorchvideo.data.decoder import DecoderType
  from pytorchvideo.data.encoded_video import EncodedVideo
  from pytorchvideo.transforms import ApplyTransformToKey, ShortSideScale, UniformTemporalSubsample
  from torchvision.transforms import Compose, Lambda
  from torchvision.transforms._transforms_video import CenterCropVideo, NormalizeVideo
label_desc: Use image node_id 1 to create a new DecodeHook object from inherited base classes: HookBase with example: obj = DecodeHook(executor, decode_audio, decoder, fail_strategy, priority)