Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
yaochengji committed Dec 13, 2024
1 parent 5b6917e commit dc8d9d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion torch_xla/csrc/aten_xla_bridge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ XLATensorImpl* GetXlaTensorImpl(const at::Tensor& tensor) {
} // namespace

XLATensorPtr TryGetXlaTensor(const at::Tensor& tensor) {
if (tensor.defined() && at::functionalization::impl::isFunctionalTensor(t)) {
if (tensor.defined() &&
at::functionalization::impl::isFunctionalTensor(tensor)) {
// To make sure we have the most updated version of tensor.
at::functionalization::impl::sync(tensor);
}
Expand Down

0 comments on commit dc8d9d7

Please sign in to comment.