Nodes/Parametric Studio/Tensor Expectation Check (op script, runs no workflow)
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.

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

NameTypeDefaultDescription
script_jsonSTRING{"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"}}.
imageIMAGEThe input image.
maskoptMASKThe mask.

Outputs (3)

NameTypeDescription
resultSTRING—
reportSTRING—
outputIMAGE—