(self, output_size, return_indices: bool = False)
| 847 | |
| 848 | class _AdaptiveMaxPoolNd(Module): |
| 849 | def __init__(self, output_size, return_indices: bool = False) -> None: |
| 850 | super(_AdaptiveMaxPoolNd, self).__init__() |
| 851 | self.output_size = output_size |
| 852 | self.return_indices = return_indices |
| 853 | |
| 854 | def extra_repr(self) -> str: |
| 855 | return "output_size={}".format(self.output_size) |