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 96850b6 commit 11fada5Copy full SHA for 11fada5
core/conversion/converters/impl/softmax.cpp
@@ -26,9 +26,6 @@ static auto softmax_registrations TRTORCH_UNUSED = RegisterNodeConversionPattern
26
}
27
28
int64_t dim = args[1].IValue()->toInt();
29
- if (dim == -1) {
30
- dim = shape.size() - 1;
31
- }
32
auto softmax = ctx->net->addSoftMax(*in);
33
34
TRTORCH_CHECK(softmax, "Unable to create softmax layer from node: " << *n);
0 commit comments