Skip to content

Commit 9d0bdaf

Browse files
committed
refactor(//core/conversion): Run output checking on both converters and
evaluators Signed-off-by: Naren Dasan <[email protected]> Signed-off-by: Naren Dasan <[email protected]>
1 parent 2d65ece commit 9d0bdaf

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

core/conversion/conversion.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,9 +214,7 @@ void ConvertBlockToNetDef(ConversionCtx* ctx, const torch::jit::Block* b, Conver
214214
}
215215

216216
for (const auto n : nodes) {
217-
if (converters::node_is_convertable(n)) {
218-
ctx->CheckLayerAddition(n);
219-
}
217+
ctx->CheckLayerAddition(n);
220218
}
221219

222220
auto outputs = b->outputs();

0 commit comments

Comments
 (0)