Nodes/Parametric Studio/PSN Latent Forensics
ComfyUI Node

PSN Latent Forensics

Inspects latent tensor metadata and sampled values for NaNs, Infs, and unexpected shape/dtype changes. Pure-logic implementation operating on plain Python values (no torch).

By parametricparadigm·Created 4 days ago·Updated about 3 hours ago· 1
PSN Latent Forensics
    • integrity_report
    • is_valid
    ◄run_idrun_001►
    ◄actual_shape1,4,64,64►
    ◄expected_shape1,4,64,64►
    ◄actual_dtypefloat16►
    ◄expected_dtypefloat16►
    ◄sampled_values[]►
    ◄max_sampled1024►
    CategoryParametric/Image

    Inputs (7)

    NameTypeDefaultDescription
    run_idSTRINGrun_001Run id. Default run_001.
    actual_shapeSTRING1,4,64,64Actual shape. Default 1,4,64,64.
    expected_shapeSTRING1,4,64,64Expected shape. Default 1,4,64,64.
    actual_dtypeCOMBOfloat16Actual dtype. One of 5 choices. Default float16.
    expected_dtypeCOMBOfloat16Expected dtype. One of 5 choices. Default float16.
    sampled_valuesSTRING[]Sampled values. Default [].
    max_sampledoptINT10241–100000Max sampled. From 1 to 100000. Default 1024.

    Outputs (2)

    NameTypeDescription
    integrity_reportSTRING—
    is_validBOOLEAN—