mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Remove unused are_like_tensors() function.
This commit is contained in:
parent
abefaee4d1
commit
066672fbfd
@ -72,10 +72,6 @@ class AddsMaskLatents:
|
|||||||
return model_input
|
return model_input
|
||||||
|
|
||||||
|
|
||||||
def are_like_tensors(a: torch.Tensor, b: object) -> bool:
|
|
||||||
return isinstance(b, torch.Tensor) and (a.size() == b.size())
|
|
||||||
|
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class AddsMaskGuidance:
|
class AddsMaskGuidance:
|
||||||
mask: torch.Tensor
|
mask: torch.Tensor
|
||||||
|
Loading…
Reference in New Issue
Block a user