Skip to content

Commit 867ba9b

Browse files
committed
Fix definition of Tensor in onnx-Scala
Type parameter Ax needs to be declared explicitly as covariant since Tensor is opaque. This fell through the cracks before since under separate compilation type parameters of opaque types got assigned structural variances. But this is incorrect. Under joint compilation there would be an error.
1 parent 0aa1214 commit 867ba9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

0 commit comments

Comments
 (0)