From: Derek Kim Date: Tue, 8 Jan 2019 03:59:20 +0000 (-0800) Subject: A trivial error in the error message of `at::Tensor _convolution` fixed (#15772) X-Git-Tag: accepted/tizen/6.5/unified/20211028.231830~1986 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=55baca57d2af8b1f7268befd379aabeed165ff20;p=platform%2Fupstream%2Fpytorch.git A trivial error in the error message of `at::Tensor _convolution` fixed (#15772) Summary: A trivial grammatical error fix. Pull Request resolved: https://github.com/pytorch/pytorch/pull/15772 Differential Revision: D13592279 Pulled By: zou3519 fbshipit-source-id: 14f60c61747a3893cd0e4c860f7b4c4c4ba28c28 --- diff --git a/aten/src/ATen/native/Convolution.cpp b/aten/src/ATen/native/Convolution.cpp index 415e5be..42c77b4 100644 --- a/aten/src/ATen/native/Convolution.cpp +++ b/aten/src/ATen/native/Convolution.cpp @@ -301,7 +301,7 @@ at::Tensor _convolution( auto k = weight.ndimension(); int64_t dim = k - 2; - AT_CHECK(dim > 0, "weight should at least have at least two dimensions"); + AT_CHECK(dim > 0, "weight should have at least two dimensions"); ConvParams params; params.stride = convolution_expand_param_if_needed(stride_, "stride", dim);