original_docstring: Convenience function for getting side data.
docstring: Convenience function for getting side data.
docstring_tokens: Convenience function for getting side data .
code: def _try_get_extra_results(layer):
    """Convenience function for getting side data."""
    return (
        getattr(layer, 'extra_loss', None),
        getattr(layer, 'extra_result', None),
    )
code_tokens: def _try_get_extra_results ( layer ) : return ( getattr ( layer , 'extra_loss' , None ) , getattr ( layer , 'extra_result' , None ) , )
short_docstring: Convenience function for getting side data.
short_docstring_tokens: Convenience function for getting side data .
comment: """Convenience function for getting side data."""