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.
PSN Tensor Inspect
- shape
- dtype
- min
- max
- mean
◄tensor_data[]►
◄dtypefloat32►
◄print_valuesfalse►
◄max_print_elements100►
CategoryParametric/Quality
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| tensor_data | STRING | [] | Tensor data. Default []. |
| dtype | COMBO | float32 | Dtype. One of 10 choices. Default float32. |
| print_values | BOOLEAN | false | Print values. Default False. |
| max_print_elementsopt | INT | 1001–10000 | Max print elements. From 1 to 10000. Default 100. |
Outputs (5)
| Name | Type | Description |
|---|---|---|
| shape | STRING | — |
| dtype | STRING | — |
| min | FLOAT | — |
| max | FLOAT | — |
| mean | FLOAT | — |