Commit 5a322fa
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 459de91 commit 5a322fa
1 file changed
+1
-1
lines changed
0 commit comments