class_docstr: Randomly permute the channels of an image or video
class_docstr_tok: ["Randomly","permute","the","channels","of","an","image","or","video"]
code: def _get_params(self, flat_inputs: List[Any]) -> Dict[str, Any]:
      num_channels, *_ = query_chw(flat_inputs)
      return dict(permutation=torch.randperm(num_channels))
  
imports: import collections.abc
  from typing import Any, Dict, List, Optional, Sequence, Tuple, Union
  import torch
  from torchvision import transforms
  from torchvision.transforms.v2 import functional, Transform
  from ._transform import _RandomApplyTransform
  from ._utils import query_chw
label_desc: Use image node_id 1 for calling the RandomChannelPermutation obj's underlying member method code with example usage: obj._get_params(flat_inputs) and returns: dict