Skip to content

Commit

Permalink
Rename var.
Browse files Browse the repository at this point in the history
  • Loading branch information
ysiraichi committed May 29, 2024
1 parent fdb724c commit a1b67f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions torch_xla/csrc/aten_xla_type.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<std::remove_pointer_t<InnerFnType>>::value;
return CallInner(inner_impl, inputs, common_dtype,
std::make_index_sequence<tensor_args>{});
std::make_index_sequence<num_tensor_args>{});
});
}

Expand Down

0 comments on commit a1b67f2

Please sign in to comment.