Avoid computing min() that is expensive when do_normalize is False in… · odedgolden/diffusers@c079cae · GitHub
Skip to content

Commit c079cae

Browse files
authored
Avoid computing min() that is expensive when do_normalize is False in the image processor (huggingface#5896)
Avoid computing min() that is expensive when do_normalize is False Avoid extra computing when do_normalize is False
1 parent c7bfb8b commit c079cae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/diffusers/image_processor.py‎

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)