Skip to main content
The UNetTemporalAttentionMultiply node applies multiplication factors to different types of attention mechanisms in a temporal UNet model. It modifies the model by adjusting the weights of self-attention and cross-attention layers, distinguishing between structural and temporal components. This allows fine-tuning of how much influence each attention type has on the model’s output.

Inputs

ParameterDescriptionData TypeRequiredRange
modelThe input model to modify with attention multipliersMODELYes-
self_structuralMultiplier for self-attention structural components (default: 1.0)FLOATNo0.0 - 10.0
self_temporalMultiplier for self-attention temporal components (default: 1.0)FLOATNo0.0 - 10.0
cross_structuralMultiplier for cross-attention structural components (default: 1.0)FLOATNo0.0 - 10.0
cross_temporalMultiplier for cross-attention temporal components (default: 1.0)FLOATNo0.0 - 10.0

Outputs

Output NameDescriptionData Type
modelThe modified model with adjusted attention weightsMODEL
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub

Source fingerprint (SHA-256): b43c7c51cbc71349dd267c4abe1704899a394e205a60a13b45869f690d83a0f0