Rate this Page

torch.fx.experimental.graph_gradual_typechecker.broadcast_types#

torch.fx.experimental.graph_gradual_typechecker.broadcast_types(t1, t2)[source]#

Applies broadcasting to both given types such that they become consistent with each other and returns two new resulting types

Return type:

tuple[Any, Any]