ComfyUI Node
Model Mask Generator (Tensor Prism)
A ComfyUI node in Tensor_Prism/Mask with 9 inputs and 1 output.
Model Mask Generator (Tensor Prism)
- reference_model
- mask
◄mask_type▾►
◄intensity1.00►
◄layer_start0►
◄layer_end-1►
◄gradient_direction▾►
◄sparsity0.50►
◄custom_patternattn,mlp.fc1►
◄falloff0.10►
CategoryTensor_Prism/Mask
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| mask_type | COMBO | 7 options: layer_based, block_based, attention_only, feedforward_only, custom_pattern, random_sparse, +1 | |
| intensity | FLOAT | 1.000–1 | — |
| reference_model | MODEL | — | |
| layer_startopt | INT | 00–50 | — |
| layer_endopt | INT | -1-1–50 | — |
| gradient_directionopt | COMBO | 4 options: shallow_to_deep, deep_to_shallow, center_out, edges_in | |
| sparsityopt | FLOAT | 0.500–1 | — |
| custom_patternopt | STRING | attn,mlp.fc1 | — |
| falloffopt | FLOAT | 0.100–1 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| mask | MASK | — |