MCPcopy 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
187def checkerboard(shape):
188 return np.indices(shape).sum(axis=0) % 2
189
190
191def build_alpha_pyramid(color, alpha, dk=1.2):

Callers 1

forwardMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected