Custom nodes for ComfyUI to enable flow control with advanced loops, conditional branching, logic operations and several other nifty utilities to enhance your ComfyUI workflows
GNU General Public License v3.0
70
stars
4
forks
source link
Use torch.equal for tensor equality comparisons #2
torch.equal handles equality better than torch.Tensor.__eq__ for this purpose. In particular, it won't raise exception when tensors have different rank or shape.
torch.equal
handles equality better thantorch.Tensor.__eq__
for this purpose. In particular, it won't raise exception when tensors have different rank or shape.