Remove unused are_like_tensors() function.

This commit is contained in:
Ryan Dick 2024-06-12 17:55:33 -04:00
parent abefaee4d1
commit 066672fbfd

View File

@ -72,10 +72,6 @@ class AddsMaskLatents:
return model_input
def are_like_tensors(a: torch.Tensor, b: object) -> bool:
return isinstance(b, torch.Tensor) and (a.size() == b.size())
@dataclass
class AddsMaskGuidance:
mask: torch.Tensor