class_docstr: Reduce the temporal resolution without changing the length.
  
  Parameters
  ----------
  kind : str, optional
      Pooling function, one of 'max', 'min', and 'ave'. Default: 'ave'.
  
  size : str, tuple, or list, optional
      Size of pooling window.
  
      - If int, all series (all channels if `per_channel` is True) are pooled
        with the same pooling size.
      - If list, a series (a channel if `per_channel` is True) is pooled with
        a pooling size sampled from this list randomly.
      - If 2-tuple, a series (a channel if `per_channel` is True) is pooled
        with a pooling size sampled from this interval randomly.
  
      Default: 2.
  
  per_channel : bool, optional
      Whether to sample a pooling window for each channel in a time series or
      to use the same window for all channels in a time series. Only used if
      the pooling window is not deterministic. Default: False.
  
  repeats : int, optional
      The number of times a series is augmented. If greater than one, a series
      will be augmented so many times independently. This parameter can also
      be set by operator `*`. Default: 1.
  
  prob : float, optional
      The probability of a series is augmented. It must be in (0.0, 1.0]. This
      parameter can also be set by operator `@`. Default: 1.0.
  
  seed : int, optional
      The random seed. Default: None.
class_docstr_tok: ["Reduce","the","temporal","resolution","without","changing","the","length",".","Parameters","--","--","--","--","--","kind",":","str",",","optional","Pooling","function",",","one","of","'max","'",",","'min","'",",","and","'ave","'",".","Default",":","'ave","'",".","size",":","str",",","tuple",",","or","list",",","optional","Size","of","pooling","window",".","-","If","int",",","all","series","(","all","channels","if","`","per_channel","`","is","True",")","are","pooled","with","the","same","pooling","size",".","-","If","list",",","a","series","(","a","channel","if","`","per_channel","`","is","True",")","is","pooled","with","a","pooling","size","sampled","from","this","list","randomly",".","-","If","2-tuple",",","a","series","(","a","channel","if","`","per_channel","`","is","True",")","is","pooled","with","a","pooling","size","sampled","from","this","interval","randomly",".","Default",":","2.","per_channel",":","bool",",","optional","Whether","to","sample","a","pooling","window","for","each","channel","in","a","time","series","or","to","use","the","same","window","for","all","channels","in","a","time","series",".","Only","used","if","the","pooling","window","is","not","deterministic",".","Default",":","False",".","repeats",":","int",",","optional","The","number","of","times","a","series","is","augmented",".","If","greater","than","one",",","a","series","will","be","augmented","so","many","times","independently",".","This","parameter","can","also","be","set","by","operator","`","*","`",".","Default",":","1.","prob",":","float",",","optional","The","probability","of","a","series","is","augmented",".","It","must","be","in","(","0.0",",","1.0","]",".","This","parameter","can","also","be","set","by","operator","`","@","`",".","Default",":","1.0.","seed",":","int",",","optional","The","random","seed",".","Default",":","None","."]
code: def size(self) -> Union[int, Tuple[int, int], List[int]]:
      return self._size
  
file_path: tsaug/src/tsaug/_augmenter/pool.py
imports: from typing import List, Optional, Tuple, Union
  import numpy
  from .base import _Augmenter, _default_seed
label_desc: Use image node_id 5 for calling the Pool obj's underlying member method code with example usage: obj.size() and returns: self