diff --git a/torch_xla/csrc/aten_autograd_ops.h b/torch_xla/csrc/aten_autograd_ops.h index 99f203db4bc..8e6ecadea9d 100644 --- a/torch_xla/csrc/aten_autograd_ops.h +++ b/torch_xla/csrc/aten_autograd_ops.h @@ -13,7 +13,7 @@ namespace aten_autograd_ops { struct EinsumAutogradFunction : public torch::autograd::Function { static torch::Tensor forward(torch::autograd::AutogradContext* ctx, - std::string_view equation, + c10::string_view equation, at::TensorList tensors); static torch::autograd::variable_list backward( torch::autograd::AutogradContext* ctx,