Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/YesianRohn/TextSSR
/ next_divisible
Function
next_divisible
diffusers/examples/community/tiled_upscaling.py:93–95 ·
view source on GitHub ↗
(n, d)
Source
from the content-addressed store, hash-verified
91
92
93
def
next_divisible(n, d):
94
divisor = n % d
95
return
n - divisor
96
97
98
class
StableDiffusionTiledUpscalePipeline(StableDiffusionUpscalePipeline):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected