Skip to content

Commit 8bb2038

Browse files
committed
Remove TODO comment.
Nothing clever was going on, unknown dims were simply faked as having length 8 for JAX polymorphism export
1 parent c4a3444 commit 8bb2038

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Diff for: pytensor/tensor/einsum.py

-2
Original file line numberDiff line numberDiff line change
@@ -546,8 +546,6 @@ def einsum(subscripts: str, *operands: "TensorLike", optimize=None) -> TensorVar
546546
"If you need this functionality open an issue in https://github.com/pymc-devs/pytensor/issues to let us know. "
547547
)
548548

549-
# TODO: Is this doing something clever about unknown shapes?
550-
# contract_path = _poly_einsum_handlers.get(ty, _default_poly_einsum_handler)
551549
tensor_operands = [as_tensor(operand) for operand in operands]
552550
shapes = [operand.type.shape for operand in tensor_operands]
553551

0 commit comments

Comments
 (0)