[autograd.functional] Fix a bug on handling v=None in vjp and jvp (#36445)
* autograd.functional passed pylint checker. * autograd.functional: fix import errors. * autograd.functional: fixed unit tests. * autograd.functional minor format change * [autograd.functional] Fixed vjp and jvp's v=None bug.
Showing
想要评论请 注册 或 登录