We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed24659 commit c5f7eeaCopy full SHA for c5f7eea
core/plugins/impl/interpolate_plugin.cpp
@@ -206,14 +206,12 @@ bool InterpolatePlugin::supportsFormatCombination(
206
const nvinfer1::PluginTensorDesc* inOut,
207
int nbInputs,
208
int nbOutputs) noexcept {
209
-<<<<<<< HEAD
210
if (nbInputs != 1) {
211
LOG_ERROR("Expected a single tensor as input to interpolate plugin");
212
}
213
-=======
214
- TRTORCH_ASSERT(nbInputs == 1, "Expected a single tensor as input to interpolate plugin");
215
-
216
->>>>>>> chore: Linter fixes
+ if (nbInputs != 1) {
+ LOG_ERROR("Expected a single tensor as input to interpolate plugin");
+ }
217
if (mode_ == "adaptive_max_pool2d") {
218
if (nbOutputs != 2) {
219
LOG_ERROR("Expected 2 tensors as output to interpolate plugin");
0 commit comments