Skip to content

questions on the backward cuda code #67

@Zhentao-Liu

Description

@Zhentao-Liu

I have a question on your backward cuda code.
I could derive the first equation // grad[i] = grad_weights[i] * T[i] - back_cum / (1-alpha[i] + 1e-10)
but I really dont know how to get second equation // back_cum += grad_weights[i] * weight[i]
what does it meanning for? many thanks!
cuda1
cuda2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions