diff --git a/torch_xla/csrc/aten_xla_type.cpp b/torch_xla/csrc/aten_xla_type.cpp index bd90549e11f..7931b7ae7bc 100644 --- a/torch_xla/csrc/aten_xla_type.cpp +++ b/torch_xla/csrc/aten_xla_type.cpp @@ -114,10 +114,10 @@ class OpConfig { static OpConfig From(const InnerFnType& inner_impl) { return OpConfig( [&](const XLAInputVector& inputs, at::ScalarType common_dtype) { - constexpr size_t tensor_args = + constexpr size_t num_tensor_args = NumberOfXLATensorArgs>::value; return CallInner(inner_impl, inputs, common_dtype, - std::make_index_sequence{}); + std::make_index_sequence{}); }); }