Skip to content

Commit eb6ed7b

Browse files
committed
Linter change
Signed-off-by: Dheeraj Peri <[email protected]>
1 parent 28387d9 commit eb6ed7b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

core/conversion/converters/impl/pooling.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ bool AdaptivePoolingConverter(
8080
std::copy_n(out_size.d, out_size.nbDims, out_shape.begin() + (in_shape.size() - out_size.nbDims));
8181

8282
std::vector<int32_t> in_shape_casted(in_shape.begin(), in_shape.end());
83-
f.emplace_back(nvinfer1::PluginField(
84-
"in_shape", in_shape_casted.data(), nvinfer1::PluginFieldType::kINT32, in_shape.size()));
83+
f.emplace_back(
84+
nvinfer1::PluginField("in_shape", in_shape_casted.data(), nvinfer1::PluginFieldType::kINT32, in_shape.size()));
8585

8686
std::vector<int32_t> out_shape_casted(out_shape.begin(), out_shape.end());
8787
f.emplace_back(nvinfer1::PluginField(

core/plugins/impl/normalize_plugin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ nvinfer1::DimsExprs NormalizePlugin::getOutputDimensions(
7373
// TODO: For dim=None, the axes_ passed would have [0, 0, 0] which is obtained through loop counter in TRTorch.
7474
// Resolve this. For dim=None case, change the axes_ inplace to range(0, axes_.size())
7575
bool isAxisNone = std::all_of(axes_.begin(), axes_.end(), [](int32_t i) { return i == 0; }) &&
76-
((int32_t) axes_.size() == inputs[0].nbDims);
76+
((int32_t)axes_.size() == inputs[0].nbDims);
7777
if (isAxisNone) {
7878
std::iota(axes_.data(), axes_.data() + axes_.size(), 0);
7979
}

0 commit comments

Comments
 (0)