From ac8bf78609009b1db49fb5ddadcd8c633cf924bb Mon Sep 17 00:00:00 2001 From: Hansong <107070759+kirklandsign@users.noreply.github.com> Date: Tue, 3 Dec 2024 19:42:51 -0800 Subject: [PATCH] Fix linter Differential Revision: D66737487 Pull Request resolved: https://github.com/pytorch/executorch/pull/7167 --- extension/tensor/tensor_accessor.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/extension/tensor/tensor_accessor.h b/extension/tensor/tensor_accessor.h index 52eafe636f..271516b339 100644 --- a/extension/tensor/tensor_accessor.h +++ b/extension/tensor/tensor_accessor.h @@ -178,7 +178,10 @@ executorch::runtime::Result> make_tensor_accessor( if (N != tensor.dim()) { ET_LOG( - Error, "Expecting %zd dimensions but tensor has %zd.", static_cast(N), static_cast(tensor.dim())); + Error, + "Expecting %zd dimensions but tensor has %zd.", + static_cast(N), + static_cast(tensor.dim())); return executorch::runtime::Error::InvalidArgument; }