Skip to content

fix(networks): replace Tensor | None with Optional[Tensor] for TorchScript compatibility#8879

Open
AlexanderSanin wants to merge 2 commits into
Project-MONAI:devfrom
AlexanderSanin:fix/torchscript-union-type-annotations
Open

fix(networks): replace Tensor | None with Optional[Tensor] for TorchScript compatibility#8879
AlexanderSanin wants to merge 2 commits into
Project-MONAI:devfrom
AlexanderSanin:fix/torchscript-union-type-annotations

Commits

Commits on May 27, 2026