Could you post a code snippet to reproduce this issue?
Based on the screenshot you’ve posted it looks like reduce and size_average is used, which are the legacy arguments, so which PyTorch version are you using?
PS: You can add code snippets directly by wrapping them into three backticks ```