Skip to content

Commit 510aefc

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 eadee84 commit 510aefc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

0 commit comments

Comments
 (0)