parameters: (self, x)
return_statement: return self.output
docstring: Args:
              x (CTensor): the input 1d or 2d tensor
          Returns:
              the result CTensor
docstring_summary: Args:
              x (CTensor): the input 1d or 2d tensor
          Returns:
              the result CTensor
docstring_tokens: Args : x ( CTensor ) : the input 1d or 2d tensor Returns : the result CTensor
function: def forward(self, x):
          """
          Args:
              x (CTensor): the input 1d or 2d tensor
          Returns:
              the result CTensor
          """
          self.output = singa.SoftMax(x, self.axis)
          return self.output
function_tokens: def forward ( self , x ) : self . output = singa . SoftMax ( x , self . axis ) return self . output