code: def __init__(self, kernel_size, stride=None, padding="SAME"):
      super(MaxPool3dTFPadding, self).__init__()
      if padding == "SAME":
          padding_shape = self._get_padding_shape(kernel_size, stride)
          self.padding_shape = padding_shape
          self.pad = th.nn.ConstantPad3d(padding_shape, 0)
      self.pool = th.nn.MaxPool3d(kernel_size, stride, ceil_mode=True)
  
imports: import torch
  import torch.nn.functional
  import torch.nn
  import os
  import numpy
  import re
label_desc: Use image node_id 1 to create a new MaxPool3dTFPadding object from inherited base classes: th.nn with example: obj = MaxPool3dTFPadding(kernel_size, stride, padding)