Skip to content

Commit c53bc61

Browse files
EricGriffithpytorchmergebot
authored andcommitted
caffe2: Fix lint errors in native/xnnpack/Linear.cpp (pytorch#150508)
Summary: See title Test Plan: Sandcastle Differential Revision: D72275403 Pull Request resolved: pytorch#150508 Approved by: https://github.com/malfet, https://github.com/Skylion007, https://github.com/cyyever
1 parent c93e34d commit c53bc61

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: aten/src/ATen/native/xnnpack/Linear.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ Tensor run(
129129

130130
const IntArrayRef input_size = padded_input.sizes();
131131
std::vector<int64_t> output_size(input_size.cbegin(), input_size.cend());
132+
// NOLINTNEXTLINE(facebook-hte-LocalUncheckedArrayBounds)
132133
output_size.back() = context.output_channels;
133134

134135
Tensor output = mobile::empty_with_tail_padding(

0 commit comments

Comments
 (0)