Rate this Page

torch.fx.experimental.unification.unification_tools.first#

torch.fx.experimental.unification.unification_tools.first(seq)[source]#

The first element in a sequence

>>> first("ABC")
'A'