class_docstr: Applies a max_pool2d or max_pool3d on top of the last feature map. Serves as an ``extra_blocks``
  in :class:`~monai.networks.blocks.feature_pyramid_network.FeaturePyramidNetwork` .
code: def __init__(self, spatial_dims: int):
      super().__init__()
      pool_type: type[
          nn.MaxPool1d | nn.MaxPool2d | nn.MaxPool3d
      ] = Pool[Pool.MAX, spatial_dims]
      self.maxpool = pool_type(kernel_size=1, stride=2, padding=0)
  
imports: from __future__ import annotations
  from collections import OrderedDict
  from collections.abc import Callable
  import torch.nn.functional
  from torch import Tensor, nn
  from monai.networks.layers.factories import Conv, Pool
label_desc: Use image node_id 1 to create a new LastLevelMaxPool object from inherited base classes: ExtraFPNBlock with example: obj = LastLevelMaxPool(spatial_dims)