From 5daa90d31a9ed58c488f877f82f004043d92649e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20=C5=9Euhan?= Date: Mon, 18 Feb 2019 13:40:50 -0800 Subject: [PATCH] Fix Permute::ToString --- torch_xla/csrc/ops/permute.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/torch_xla/csrc/ops/permute.cpp b/torch_xla/csrc/ops/permute.cpp index 35db960df228..24254bf54ba2 100644 --- a/torch_xla/csrc/ops/permute.cpp +++ b/torch_xla/csrc/ops/permute.cpp @@ -36,8 +36,7 @@ XlaOpVector Permute::Lower(LoweringContext* loctx) const { std::string Permute::ToString() const { std::stringstream ss; - ss << Node::ToString() << ", kernel_size=[" << absl::StrJoin(dims_, ", ") - << "]"; + ss << Node::ToString() << ", dims=[" << absl::StrJoin(dims_, ", ") << "]"; return ss.str(); }