Pytorch torch.nn.functional.avg_pool stride defalut None cause error in _infer_type

Thanks, optional arguments should be handeled something like this

Can you send a PR to fix this?