Rate this Page

torch.fx.experimental.graph_gradual_typechecker.get_greatest_upper_bound#

torch.fx.experimental.graph_gradual_typechecker.get_greatest_upper_bound(type1, type2)[source]#

Get the most precise type that’s consistent with the given types

Return type:

Any