MCPcopy Create free account
hub / github.com/Kosinkadink/ComfyUI-Advanced-ControlNet / __init__

Method __init__

adv_control/utils.py:222–239  ·  view source on GitHub ↗
(self,
                 start_percent: float = 0.0,
                 strength: float = 1.0,
                 control_weights: ControlWeights = None,
                 latent_keyframes: LatentKeyframeGroup = None,
                 null_latent_kf_strength: float = 0.0,
                 inherit_missing: bool = True,
                 guarantee_steps: int = 1,
                 mask_hint_orig: Tensor = None)

Source from the content-addressed store, hash-verified

220
221class TimestepKeyframe:
222 def __init__(self,
223 start_percent: float = 0.0,
224 strength: float = 1.0,
225 control_weights: ControlWeights = None,
226 latent_keyframes: LatentKeyframeGroup = None,
227 null_latent_kf_strength: float = 0.0,
228 inherit_missing: bool = True,
229 guarantee_steps: int = 1,
230 mask_hint_orig: Tensor = None) -> None:
231 self.start_percent = float(start_percent)
232 self.start_t = 999999999.9
233 self.strength = strength
234 self.control_weights = control_weights
235 self.latent_keyframes = latent_keyframes
236 self.null_latent_kf_strength = null_latent_kf_strength
237 self.inherit_missing = inherit_missing
238 self.guarantee_steps = guarantee_steps
239 self.mask_hint_orig = mask_hint_orig
240
241 def has_control_weights(self):
242 return self.control_weights is not None

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected