Skip to content

Some questions about the code and equations in paper #6

Description

@zhujiagang

An excellent work! I've several questions.

  1. Why does the par appear in out_grad, while par_pos in out_data?
    float right = in_data[cur + data_offset] * (out_grad[par + grad_offset] - edge_weight * in_grad[cur + grad_offset]);
  2. delta S(Ei,j)/delta wi,j in eq.9 seems to disappear in the code.
    grad_weight_tensor = (grad_all_channel_tensor - grad_norm_all_channel_tensor).sum(1);
  3. The paper says "uniformly sample a vertex as the root and perform breadth-first sorting (BFS) algorithm to obtain the topological order of tree G“. But it seems that the code always start from the index 0.
    if ((sorted_index[i] > 0) || (i == 0)){

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions