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 33c523d commit e1b68fcCopy full SHA for e1b68fc
core/conversion/conversion.cpp
@@ -416,7 +416,7 @@ void ConvertBlockToNetDef(
416
EvaluateConditionalBlock(ctx, n);
417
} else if (to_eval) {
418
auto eval = EvaluateNode(ctx, n);
419
- if (eval) {
+ if (eval && n->outputs().size() > 0) {
420
if (n->outputs().size() > 1) { // For ListUnpack scenario
421
if (eval.value().isTuple()) {
422
auto eval_list = eval.value().toTuple();
core/conversion/evaluators/aten.cpp
@@ -295,6 +295,7 @@ auto aten_registrations TORCHTRT_UNUSED =
295
for (int64_t i = 0; i < other_size; i++) {
296
self.push_back(other.get(i));
297
}
298
+ return self;
299
} else {
300
TORCHTRT_THROW_ERROR(
301
"Unimplemented data type for aten::extend.t evaluator: "
0 commit comments