Show return values type_str
in printing unpack_sequence (to have the information in backward trace like forward trace)
#1635
Labels
enhancement
New feature or request
🚀 Feature
Currently, a backward trace would look like this:
It would make them a bit clearer if each values has their
type_str
somewhere close, e.g.Motivation
While every forward trace (and computation trace if autograd is disabled) has type information of its args by giving unpack prim to each of them, backward ones doesn't seem to do so.
When looking at only backward trace without its corresponding forward trace juxtaposed, I feel like such metadata would be helpful to create a executable script from that backward trace.
Pitch
Alternatives
Additional context
The text was updated successfully, but these errors were encountered: