code: def repeats(self, M: int) -> None:
      if not isinstance(M, int):
          raise TypeError(
              "Parameter `repeats` must be a positive integer."
          )
      if M <= 0:
          raise ValueError(
              "Parameter `repeats` must be a positive integer."
          )
      self._repeat = M
  
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 5 for calling the _Augmenter obj's underlying member method code with example usage: obj.repeats(M) without return types