code: def __init__(
      self,
      channels: Union[Tuple[int, ...], List[int]],
      strides: Union[Tuple[int, ...], List[int]],
  ):
      if len(channels) != len(strides):
          raise RuntimeError(
              f"Length of feature_map_channels({len(channels)} must"
              f" be equal to length of feature_map_strides({len(strides)})"
          )
  
      self.channels = tuple(channels)
      self.strides = tuple(strides)
  
imports: import dataclasses
  from abc import abstractmethod
  from typing import Protocol, Tuple, List, Union, Mapping, Callable
  import numpy
  import torch.jit
  from torch import nn, Tensor
  from pytorch_toolbelt.utils import pytorch_toolbelt_deprecated
label_desc: Use image node_id 1 to create a new FeatureMapsSpecification object  with example: obj = FeatureMapsSpecification(channels, strides)