MCPcopy Create free account
hub / github.com/Francis-Rings/FlashPortrait / find_replacement

Function find_replacement

train_portrait.py:68–73  ·  view source on GitHub ↗
(a)

Source from the content-addressed store, hash-verified

66
67
68def find_replacement(a):
69 while a > 0:
70 if (a - 1) % 4 == 0:
71 return a
72 a -= 1
73 return 0
74
75
76def filter_kwargs(cls, kwargs):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected