评价此页

torch.fx.experimental.symbolic_shapes.constrain_unify#

torch.fx.experimental.symbolic_shapes.constrain_unify(a, b)[source]#

给定两个 SymInt,约束它们必须相等。注意:这目前不能与表示非平凡表达式的 SymInt 一起使用!