代码拉取完成,页面将自动刷新
90
add custom init grad for backward function
已关闭
PR types
New features
PR changes
APIs
Describe
When computing the tensor's backward, the initial grad_tensor is dafault set as paddle.ones. This PR add new kwargs grad_tensor
for user to self define the staring grad. If the grad_tensor
not set, use the default value which is paddle.ones.
Doc preview