code: def permute_hidden(
      self, hx: Tuple[Tensor, Tensor], permutation: Optional[Tensor]
  ) -> Tuple[Tensor, Tensor]:
      if permutation is None:
          return hx
      return apply_permutation(hx[0], permutation), apply_permutation(
          hx[1], permutation
      )
  
imports: import warnings
  from typing import List, Optional, Tuple
  import torch
  from torch import _VF, Tensor
  from torch.nn.utils.rnn import PackedSequence
label_desc: Use image node_id 5 for calling the QuantizedLSTM obj's underlying member method code with example usage: obj.permute_hidden(hx, permutation) and returns: apply_permutation,  apply_permutation, hx