Eliminate trace unused warning.

(cherry picked from commit 9bc9992dd3)
This commit is contained in:
Antonio Sanchez
2022-03-29 14:20:13 -07:00
parent 973b04f3e1
commit ac78f84b72

View File

@@ -134,6 +134,7 @@ struct TensorEvaluator<const TensorTraceOp<Dims, ArgType>, Device>
}
}
EIGEN_ONLY_USED_FOR_DEBUG(num_distinct_reduce_dims);
eigen_assert(num_distinct_reduce_dims == NumReducedDims);
// Compute the dimensions of the result.