code: def forward(self, X):
      return entmax15(X, dim=self.dim, k=self.k, training=self.training)
  
imports: import torch
  import torch.nn
  from torch.autograd import Function
label_desc: Use image node_id 2 for calling the Entmax15 obj's underlying member method code with example usage: obj.forward(X) and returns: entmax15