MCPcopy Create free account
hub / github.com/TencentARC/BrushNet / get_constant_schedule

Function get_constant_schedule

src/diffusers/utils/dummy_pt_objects.py:350–351  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

348
349
350def get_constant_schedule(*args, **kwargs):
351 requires_backends(get_constant_schedule, ["torch"])
352
353
354def get_constant_schedule_with_warmup(*args, **kwargs):

Callers

nothing calls this directly

Calls 1

requires_backendsFunction · 0.85

Tested by

no test coverage detected