Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct #20054-D errors found when compiling on ARM #42

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions GPUTreeShap/gpu_treeshap.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,16 +114,16 @@ struct PathElement {
}

/*! Unique path index. */
size_t path_idx;
size_t path_idx{};
/*! Feature of this split, -1 indicates bias term. */
int64_t feature_idx;
int64_t feature_idx{};
/*! Indicates class for multiclass problems. */
int group;
SplitConditionT split_condition;
int group{};
SplitConditionT split_condition{};
/*! Probability of following this path when feature_idx is not in the active
* set. */
double zero_fraction;
float v; // Leaf weight at the end of the path
double zero_fraction{};
float v{}; // Leaf weight at the end of the path
};

// Helper function that accepts an index into a flat contiguous array and the
Expand Down
Loading