-
Notifications
You must be signed in to change notification settings - Fork 25k
Closed
Labels
module: pytreetriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
Description
🐛 Describe the bug
import torch
from torch.utils._pytree import tree_map
print(tree_map(lambda a: None, torch.cummin(torch.randn(3), 0)))
This prints None
. I expected to get torch.return_types.cummin(values=None, indices=None)
cc @zou3519
Versions
master
Metadata
Metadata
Assignees
Labels
module: pytreetriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module