Skip to content

Commit

Permalink
Add parsing for logsoftmax
Browse files Browse the repository at this point in the history
  • Loading branch information
mldiego committed Mar 15, 2024
1 parent 30b6aee commit cfa086a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/nnv/engine/utils/matlab2nnv.m
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
% Layers with no effect on the reachability analysis
if isa(L, 'nnet.cnn.layer.DropoutLayer') || isa(L, 'nnet.cnn.layer.SoftmaxLayer') || isa(L, 'nnet.cnn.layer.ClassificationOutputLayer') ...
|| isa(L,"nnet.onnx.layer.VerifyBatchSizeLayer") || isa(L, "nnet.cnn.layer.RegressionOutputLayer") ...
|| customLayer_no_NLP == 1 || isa(L, "nnet.onnx.layer.CustomOutputLayer")
|| customLayer_no_NLP == 1 || isa(L, "nnet.onnx.layer.CustomOutputLayer") || contains(class(L), "LogSoftmax")
Li = PlaceholderLayer.parse(L);

elseif customLayer_no_NLP
Expand Down

0 comments on commit cfa086a

Please sign in to comment.