Skip to content

Commit

Permalink
Merge pull request #52865 from tensorflow/fix-build-2-on-r2.6
Browse files Browse the repository at this point in the history
Fix build on `tensorflow/core/kernels/boosted_trees/stats_ops.cc`
  • Loading branch information
mihaimaruseac committed Oct 29, 2021
2 parents c42e447 + f0258a5 commit ea77035
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tensorflow/core/kernels/boosted_trees/stats_ops.cc
Expand Up @@ -278,7 +278,6 @@ class BoostedTreesCalculateBestFeatureSplitOp : public OpKernel {
const int32 num_buckets = stats_summary_t->dim_size(2) - 1;
const int32 logits_dim = logits_dim_;
const int32 hessian_dim = stats_summary_t->dim_size(3) - logits_dim;
const int32_t hessian_dim = stats_summary_t->dim_size(3) - logits_dim;
OP_REQUIRES(context, hessian_dim > 0,
errors::InvalidArgument("hessian dim should be < 0, got ",
hessian_dim));
Expand Down

0 comments on commit ea77035

Please sign in to comment.