torch.fx.experimental.unification.multipledispatch.dispatcher.ambiguity_warn#
- torch.fx.experimental.unification.multipledispatch.dispatcher.ambiguity_warn(dispatcher, ambiguities)[source]#
Raise warning when ambiguity is detected.
- Parameters:
dispatcher (Dispatcher) – The dispatcher on which the ambiguity was detected
ambiguities (set) – Set of type signature pairs that are ambiguous within this dispatcher
See also
Dispatcher.add,warning_text