Eliminate trace unused warning.

This commit is contained in:
Antonio Sanchez 2022-03-29 14:20:13 -07:00 committed by Rasmus Munk Larsen
parent e22d58e816
commit 9bc9992dd3

View File

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