I am having trouble understanding exactly what this line means in the docs 12…
grad_outputs (sequence of Tensor) – The “vector” in the Jacobian-vector product. Usually gradients w.r.t. each output. None values can be specified for scalar Tensors or ones that don’t require grad. If a None value would be acceptable for all grad_tensors, then this argument is optional. Default: None.

I see this thread 46 which partially explains it (None is equivalent to passing in torch.ones(...) of the proper size) but I still don’t really understand what it is for or what it should be used for.
Any input? Thanks