code: def _get_mask_param(
      mask_param: int, p: float, axis_length: int
  ) -> int:
      if p == 1.0:
          return mask_param
      else:
          return min(mask_param, int(axis_length * p))
  
imports: import math
  import tempfile
  import warnings
  from collections.abc import Sequence
  from typing import List, Optional, Tuple, Union
  import torch
  import torchaudio
  from torch import Tensor
  from torchaudio._internal.module_utils import deprecated
  from .filtering import highpass_biquad, treble_biquad
label_desc: Use image node_id 17 for calling a global function with example usage: _get_mask_param(mask_param, p, axis_length) and returns: mask_param, min