Skip to content

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

Open
AlexanderSanin wants to merge 6 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 6 commits into
Project-MONAI:devfrom
AlexanderSanin:fix/torchscript-union-type-annotations