RuntimeError: grad can be implicitly created only for scalar outputs

i don`t understand what happened ? Dose anyone know about this?