Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FireRedTeam/LayerDiffuse-Flux
/ checkerboard
Function
checkerboard
lib_layerdiffuse/vae.py:187–188 ·
view source on GitHub ↗
(shape)
Source
from the content-addressed store, hash-verified
185
186
187
def
checkerboard(shape):
188
return
np.indices(shape).sum(axis=0) % 2
189
190
191
def
build_alpha_pyramid(color, alpha, dk=1.2):
Callers
1
forward
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected