cellflow.networks.ConditionEncoder.takes_attention_mask¶
- ConditionEncoder.takes_attention_mask: ClassVar[bool] = False¶
Whether this block’s
__call__accepts an attention mask as its second positional argument. Declared as aClassVarso it stays a pure class-level capability flag and is not turned into aflaxmodule field (which would alter the constructor signature)._apply_modules()dispatches on this flag instead of hard-codingisinstancechecks.