# tensorplay.nn.functional.adaptive_max_pool1d_with_indices Source: https://www.tensorplay.cn/docs/generated/tensorplay.nn.functional.adaptive_max_pool1d_with_indices.html ```python tensorplay.nn.functional.adaptive_max_pool1d_with_indices(input: Tensor, output_size, return_indices: bool = True) ``` Applies a 1D adaptive max pooling over an input signal, returning (output, indices). See AdaptiveMaxPool1d for details.