Nodes/Parametric Studio/PSN Tensor Inspect
ComfyUI Node

PSN Tensor Inspect

Inspect a tensor represented as a nested list. Computes shape, dtype, min, max, and mean statistics. Returns a formatted string that would be printed to console if print_values is true. Pure logic only: no actual tensor operations, no console output.

By parametricparadigm·Created 4 days ago·Updated about 3 hours ago· 1
PSN Tensor Inspect
    • shape
    • dtype
    • min
    • max
    • mean
    ◄tensor_data[]►
    ◄dtypefloat32►
    ◄print_valuesfalse►
    ◄max_print_elements100►
    CategoryParametric/Quality

    Inputs (4)

    NameTypeDefaultDescription
    tensor_dataSTRING[]Tensor data. Default [].
    dtypeCOMBOfloat32Dtype. One of 10 choices. Default float32.
    print_valuesBOOLEANfalsePrint values. Default False.
    max_print_elementsoptINT1001–10000Max print elements. From 1 to 10000. Default 100.

    Outputs (5)

    NameTypeDescription
    shapeSTRING—
    dtypeSTRING—
    minFLOAT—
    maxFLOAT—
    meanFLOAT—