Convolutional ============= CONVOLUTIONAL ------------- DeepLabV3 ~~~~~~~~~ .. mermaid:: classDiagram class DeepLabV3 { +bool onnx_supported +bool features_last +ModelType model_type +int num_spatial_dims +bool register +check_input_shape() None +forward() torch.Tensor | tuple[torch.Tensor, torch.Tensor] +get_classification_head() Sequential +get_decoder() DeepLabV3Decoder +get_segmentation_head() Sequential +initialize() None +initialize_decoder() None +initialize_head() None +predict() Tensor +validate_input_shape() tuple } class BaseModel { } <> BaseModel BaseModel <|-- DeepLabV3 : herits class ModelABC { +bool register +int in_channels +int out_channels +tuple input_shape +check_required_attributes() None } <> ModelABC ModelABC <|-- DeepLabV3 : herits class Module <> Module Module <|-- DeepLabV3 : herits class DeepLabV3Plus { } DeepLabV3 <|-- DeepLabV3Plus : herits .. autosummary:: :toctree: generated :nosignatures: ~mfai.pytorch.models.deeplabv3.DeepLabV3 DeepLabV3Plus ~~~~~~~~~~~~~ .. mermaid:: classDiagram class DeepLabV3Plus { } class DeepLabV3 { +bool onnx_supported +bool features_last +ModelType model_type +int num_spatial_dims +bool register +check_input_shape() None +forward() torch.Tensor | tuple[torch.Tensor, torch.Tensor] +get_classification_head() Sequential +get_decoder() DeepLabV3Decoder +get_segmentation_head() Sequential +initialize() None +initialize_decoder() None +initialize_head() None +predict() Tensor +validate_input_shape() tuple } DeepLabV3 <|-- DeepLabV3Plus : herits class BaseModel { } <> BaseModel BaseModel <|-- DeepLabV3Plus : herits class ModelABC { +bool register +int in_channels +int out_channels +tuple input_shape +check_required_attributes() None } <> ModelABC ModelABC <|-- DeepLabV3Plus : herits class Module <> Module Module <|-- DeepLabV3Plus : herits .. autosummary:: :toctree: generated :nosignatures: ~mfai.pytorch.models.deeplabv3.DeepLabV3Plus HalfUNet ~~~~~~~~ .. mermaid:: classDiagram class HalfUNet { +bool onnx_supported +tuple supported_num_spatial_dims +int num_spatial_dims +bool features_last +ModelType model_type +bool register #_block() Sequential +forward() Tensor +validate_input_shape() tuple } class BaseModel { } <> BaseModel BaseModel <|-- HalfUNet : herits class ModelABC { +bool register +int in_channels +int out_channels +tuple input_shape +check_required_attributes() None } <> ModelABC ModelABC <|-- HalfUNet : herits class Module <> Module Module <|-- HalfUNet : herits .. autosummary:: :toctree: generated :nosignatures: ~mfai.pytorch.models.half_unet.HalfUNet CustomUNet ~~~~~~~~~~ .. mermaid:: classDiagram class CustomUNet { +int num_spatial_dims +bool register +forward() Tensor +validate_input_shape() Tuple } class BaseModel { } <> BaseModel BaseModel <|-- CustomUNet : herits class ModelABC { +bool register +int in_channels +int out_channels +tuple input_shape +check_required_attributes() None } <> ModelABC ModelABC <|-- CustomUNet : herits class Module <> Module Module <|-- CustomUNet : herits .. autosummary:: :toctree: generated :nosignatures: ~mfai.pytorch.models.unet.CustomUNet UNet ~~~~ .. mermaid:: classDiagram class UNet { +int num_spatial_dims +bool register #_block() Sequential +forward() Tensor +validate_input_shape() tuple } class BaseModel { } <> BaseModel BaseModel <|-- UNet : herits class ModelABC { +bool register +int in_channels +int out_channels +tuple input_shape +check_required_attributes() None } <> ModelABC ModelABC <|-- UNet : herits class Module <> Module Module <|-- UNet : herits .. autosummary:: :toctree: generated :nosignatures: ~mfai.pytorch.models.unet.UNet