ComfyUI Node
Tensor Expectation Check (op script, runs no workflow)
Applies a small op script (identity, scale, add, mean, threshold) to the image and checks min/max/mean expectations on each step. Does not run ComfyUI workflows.
Tensor Expectation Check (op script, runs no workflow)
- image
- mask
- result
- report
- output
◄script_json{"steps": [{"id": "s1", "op": "identity", "inputs": {"a": "img"}, "expect": {"min": 0.0, "max": 1.0}}], "inputs": {"img": "img"}}►
CategoryParametric/Quality
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| script_json | STRING | {"steps": [{"id": "s1", "op": "identity", "inputs": {"a": "img"}, "expect": {"min": 0.0, "max": 1.0}}], "inputs": {"img": "img"}} | Script json. Default {"steps": [{"id": "s1", "op": "identity", "inputs": {"a": "img"}, "expect": {"min": 0.0, "max": 1.0}}], "inputs": {"img": "img"}}. |
| image | IMAGE | The input image. | |
| maskopt | MASK | The mask. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| result | STRING | — |
| report | STRING | — |
| output | IMAGE | — |