A trivial error in the error message of `at::Tensor _convolution` fixed (#15772)
authorDerek Kim <bluewhale8202@gmail.com>
Tue, 8 Jan 2019 03:59:20 +0000 (19:59 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 8 Jan 2019 04:01:43 +0000 (20:01 -0800)
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

aten/src/ATen/native/Convolution.cpp

index 415e5be..42c77b4 100644 (file)
@@ -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);