parameters: (fun)
return_statement: return tf_decorator.make_decorator(fun, wrapped)
docstring: Tags the result of function by setting _is_zeros_tensor attribute.
  
    This is useful to compute Hessians of fused ops such as cross_entropy.
docstring_summary: Tags the result of function by setting _is_zeros_tensor attribute.
docstring_tokens: Tags the result of function by setting _is_zeros_tensor attribute .
function: def _tag_zeros_tensor(fun):
    """ Tags the result of function by setting _is_zeros_tensor attribute.
  
    This is useful to compute Hessians of fused ops such as cross_entropy.
    """
  
    def wrapped(*args, **kwargs):
      tensor = fun(*args, **kwargs)
      tensor._is_zeros_tensor = True
      return tensor
  
    return tf_decorator.make_decorator(fun, wrapped)
function_tokens: def _tag_zeros_tensor ( fun ) : def wrapped ( * args , * * kwargs ) : tensor = fun ( * args , * * kwargs ) tensor . _is_zeros_tensor = True return tensor return tf_decorator . make_decorator ( fun , wrapped )