Skip to content

Commit 15c6afe

Browse files
author
NeiroYT
committed
Linuxfix
1 parent d963d31 commit 15c6afe

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

include/graph/graph.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ class Graph {
309309
start_--;
310310
}
311311
for (auto& i : split_distribution_) {
312-
for (int j = 0; j < i.size(); j++) {
312+
for (int j = 0; j < static_cast<int>(i.size()); j++) {
313313
if (i[j].first > id) {
314314
i[j].first--;
315315
}

src/layers_fused/ConvSigmMul.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ void ConvSigmMulLayer::run(const std::vector<Tensor>& input,
1515
const RuntimeOptions& options) {
1616
std::vector<Tensor> temp_output(2, Tensor());
1717

18-
ParBackend backend = options.par_backend;
19-
2018
ConvolutionalLayer conv(stride_, pads_, dilations_, kernel_, bias_, group_,
2119
useLegacyImpl_);
2220

0 commit comments

Comments
 (0)