ComfyUI Node
PSN Latent Validator
Validate latent tensor metadata (dims, channels, dtype) before processing.
PSN Latent Validator
- latent_meta
- is_valid
- reason
◄latent_meta{"dims": [1, 4, 64, 64], "channels": 4, "dtype": "float16"}►
◄expected_channels-1►
◄strictfalse►
CategoryParametric/Sampling
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| latent_meta | STRING | {"dims": [1, 4, 64, 64], "channels": 4, "dtype": "float16"} | Latent meta. Default {"dims": [1, 4, 64, 64], "channels": 4, "dtype": "float16"}. |
| expected_channelsopt | INT | -1-1–1024 | Expected channels. From -1 to 1024. Default -1. |
| strictopt | BOOLEAN | false | Strict. Default False. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| latent_meta | STRING | — |
| is_valid | BOOLEAN | — |
| reason | STRING | — |