Skip to content

Commit d341dcc

Browse files
oderskytanishiking
authored andcommitted
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 6bf2e2f commit d341dcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

0 commit comments

Comments
 (0)