parameters: (self, is_grad=False)
docstring: Initialize SparseSoftmaxCrossEntropyWithLogits.
docstring_summary: Initialize SparseSoftmaxCrossEntropyWithLogits.
docstring_tokens: Initialize SparseSoftmaxCrossEntropyWithLogits .
function: def __init__(self, is_grad=False):
          """Initialize SparseSoftmaxCrossEntropyWithLogits."""
          validator.check_value_type('is_grad', is_grad, [bool], self.name)
          self.init_prim_io_names(inputs=['features', 'labels'], outputs=['output'])
          self.is_grad = is_grad
          self.add_prim_attr('sens', 1.0)
function_tokens: def __init__ ( self , is_grad = False ) : validator . check_value_type ( 'is_grad' , is_grad , [ bool ] , self . name ) self . init_prim_io_names ( inputs = [ 'features' , 'labels' ] , outputs = [ 'output' ] ) self . is_grad = is_grad self . add_prim_attr ( 'sens' , 1.0 )