Skip to content

Commit

Permalink
remove error line from coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
schillic committed May 25, 2024
1 parent d31df1b commit 1f2c97c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FileFormats/ONNX.jl
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function read_ONNX(filename::String; input_dimension=nothing)
@assert args[2]._op.id == idx - 1
act = args[1]
else
@assert false "cannot parse activation $op"
throw(ArgumentError("cannot parse activation $op")) # COV_EXCL_LINE
end
a = available_activations[string(act)]
idx += 1
Expand Down

0 comments on commit 1f2c97c

Please sign in to comment.