How does the stride and kernel size is defined for ADAPTIVEAVGPOOL1D

I am wondering how the stride and kernel sizes are decided for adaptiveavgpool-1d?
https://pytorch.org/docs/stable/generated/torch.nn.AdaptiveAvgPool1d.html#adaptiveavgpool1d