PyTorch CI trunk: replace assertTrue(torch.allclose(...)) with assertEqual in batch_linear tests
English summary
A commit in the PyTorch CI trunk workflow (tag 'ciflow/trunk/181854') refactors tests related to batch linear operations. It replaces the pattern assertTrue(torch.allclose(...)) with assertEqual, which is likely PyTorch's custom assertion that provides more informative error messages when tensor comparisons fail. The change is purely a test maintenance improvement and does not affect PyTorch functionality.
Chinese summary
PyTorch CI主干工作流(标签'ciflow/trunk/181854')中的一次提交重构了与批处理线性操作相关的测试。它将assertTrue(torch.allclose(...))模式替换为assertEqual,后者可能是PyTorch的自定义断言,能在张量比较失败时提供更丰富的错误信息。此变更仅为测试维护改进,不影响PyTorch功能。
Key points
A CI commit in PyTorch's trunk branch modifies batch_linear test assertions.
PyTorch主干分支的一次CI提交修改了batch_linear测试断言。
The specific change is from assertTrue(torch.allclose(...)) to assertEqual for better test diagnostics.
具体变更是将assertTrue(torch.allclose(...))改为assertEqual,以改进测试诊断。