code: def __init__(self, dim=1, n=2):
      super(LogTaylorSoftmaxV1, self).__init__()
      assert n % 2 == 0
      self.dim = dim
      self.n = n
  
imports: import torch
  import torch.nn
  import torch.nn.functional
  from torch.autograd import Variable
label_desc: Use image node_id 1 to create a new LogTaylorSoftmaxV1 object from inherited base classes: nn with example: obj = LogTaylorSoftmaxV1(dim, n)