Rate this Page
★ ★ ★ ★ ★

torch.fx.experimental.graph_gradual_typechecker.linear_check#

torch.fx.experimental.graph_gradual_typechecker.linear_check = <function linear_check>[source]#

Checks that an input tensor type satisfies the conditions for linear operation and returns the output type based on in and out features given by module_instance

Return type:

TensorType