From f08dc5f4f0b386219fe8994cbc5d4bcf55030106 Mon Sep 17 00:00:00 2001 From: cyy Date: Wed, 30 Oct 2024 08:43:14 +0800 Subject: [PATCH] Revert back to c10::string_view --- torch_xla/csrc/aten_autograd_ops.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,