shairubin / fun_with_ast

let's have fun manipulating ASTs in Python
Apache License 2.0
0 stars 1 forks source link

union fails to match #179

Open shairubin opened 7 months ago

shairubin commented 7 months ago

_TensorOrTensorsOrGradEdge = Union[ torch.Tensor, Sequence[torch.Tensor], "torch.autograd.graph.GradientEdge", Sequence["torch.autograd.graph.GradientEdge"]]