code: def prob(self, p: float) -> None:
      if not isinstance(p, (int, float)):
          raise TypeError(
              "Parameter `prob` must be a positive number between 0 and 1."
          )
      if p > 1.0 or p <= 0.0:
          raise TypeError(
              "Parameter `prob` must be a positive number between 0 and 1."
          )
      self._prob = p
  
imports: from abc import ABC, abstractmethod
  from copy import deepcopy
  from typing import Any, Dict, Iterator, List, Optional, Tuple, Union, overload
  import numpy
  from .None import _default_seed
label_desc: Use image node_id 7 for calling the _Augmenter obj's underlying member method code with example usage: obj.prob(p) without return types