Skip to content

Commit 6997efa

Browse files
committed
unuse branch, which overlaps in tensor
1 parent c06e0cd commit 6997efa

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

src/layers/ConvLayer.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ void ConvolutionalLayer::run(const std::vector<Tensor>& input,
2121
DepthwiseConv4D<int>(input[0], kernel_, bias_, output[0], stride_,
2222
pads_, dilations_);
2323
break;
24-
default:
25-
throw std::runtime_error(
26-
"Unsupported type for depthwise convolution");
2724
}
2825
return;
2926
}
@@ -161,9 +158,6 @@ void ConvolutionalLayer::run(const std::vector<Tensor>& input,
161158
}
162159
break;
163160
}
164-
default: {
165-
throw std::runtime_error("Unsupported tensor type");
166-
}
167161
}
168162
}
169163
}

0 commit comments

Comments
 (0)