code: def __init__(self, dim):
      super().__init__()
      self.dim = dim
  
imports: import torch
  import torch.nn.functional
  from einops import rearrange
  from torch import nn
label_desc: Use image node_id 1 to create a new DivideMax object from inherited base classes: nn with example: obj = DivideMax(dim)