Skip to content

Commit 1e28b11

Browse files
committed
Adapt to BatchMatMulV3
1 parent b64414c commit 1e28b11

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • tensorflow-framework/src/main/java/org/tensorflow/framework/op/linalg

tensorflow-framework/src/main/java/org/tensorflow/framework/op/linalg/MatMul.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ public static <T extends TNumber> Operand<T> matmul(
241241
adjointB = true;
242242
}
243243
return BatchMatMul.create(
244-
lscope, a, b, BatchMatMul.adjX(adjointA), BatchMatMul.adjY(adjointB));
244+
lscope, a, b, a.type(), BatchMatMul.adjX(adjointA), BatchMatMul.adjY(adjointB));
245245
}
246246

247247
// Neither matmul nor sparse_matmul support adjoint, so we conjugate

0 commit comments

Comments
 (0)