Skip to content

Commit d3a1772

Browse files
committed
Adding test case for Cos
1 parent 7972aad commit d3a1772

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/saveload.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ import ONNX: NodeProto, ValueInfoProto, AttributeProto, onnx_name
2626
end
2727

2828
@testset "Cos" begin
29-
A = rand(3, 4)
29+
# ONNXRunTime has no implementation for Cos(x::Float64), using Float32
30+
A = rand(Float32, 3, 4)
3031
ort_test(ONNX._cos, A)
3132
end
3233

0 commit comments

Comments
 (0)