Nodes/Parametric Studio/PSN Latent Validator
ComfyUI Node

PSN Latent Validator

Validate latent tensor metadata (dims, channels, dtype) before processing.

By parametricparadigm·Created 4 days ago·Updated about 3 hours ago· 1
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)

    NameTypeDefaultDescription
    latent_metaSTRING{"dims": [1, 4, 64, 64], "channels": 4, "dtype": "float16"}Latent meta. Default {"dims": [1, 4, 64, 64], "channels": 4, "dtype": "float16"}.
    expected_channelsoptINT-1-1–1024Expected channels. From -1 to 1024. Default -1.
    strictoptBOOLEANfalseStrict. Default False.

    Outputs (3)

    NameTypeDescription
    latent_metaSTRING—
    is_validBOOLEAN—
    reasonSTRING—