{
  "original_nonplanar": [
    [
      0,
      9,
      1
    ],
    [
      6,
      2,
      8
    ],
    [
      3,
      7,
      4
    ]
  ],
  "modes": {
    "half_pixel": {
      "values": [
        [
          "0",
          "18/5",
          "9",
          "21/5",
          "1"
        ],
        [
          "15/4",
          "41/10",
          "37/8",
          "203/40",
          "43/8"
        ],
        [
          "39/8",
          "179/40",
          "31/8",
          "109/20",
          "13/2"
        ],
        [
          "3",
          "23/5",
          "7",
          "26/5",
          "4"
        ]
      ],
      "all_coordinate_weight_rows": [
        {
          "output": [
            0,
            0
          ],
          "input_coordinate_clamped": [
            "0",
            "0"
          ],
          "corners": [
            [
              0,
              0
            ],
            [
              0,
              1
            ],
            [
              1,
              0
            ],
            [
              1,
              1
            ]
          ],
          "weights": [
            "1",
            "0",
            "0",
            "0"
          ],
          "value": "0"
        },
        {
          "output": [
            0,
            1
          ],
          "input_coordinate_clamped": [
            "0",
            "2/5"
          ],
          "corners": [
            [
              0,
              0
            ],
            [
              0,
              1
            ],
            [
              1,
              0
            ],
            [
              1,
              1
            ]
          ],
          "weights": [
            "3/5",
            "2/5",
            "0",
            "0"
          ],
          "value": "18/5"
        },
        {
          "output": [
            0,
            2
          ],
          "input_coordinate_clamped": [
            "0",
            "1"
          ],
          "corners": [
            [
              0,
              1
            ],
            [
              0,
              2
            ],
            [
              1,
              1
            ],
            [
              1,
              2
            ]
          ],
          "weights": [
            "1",
            "0",
            "0",
            "0"
          ],
          "value": "9"
        },
        {
          "output": [
            0,
            3
          ],
          "input_coordinate_clamped": [
            "0",
            "8/5"
          ],
          "corners": [
            [
              0,
              1
            ],
            [
              0,
              2
            ],
            [
              1,
              1
            ],
            [
              1,
              2
            ]
          ],
          "weights": [
            "2/5",
            "3/5",
            "0",
            "0"
          ],
          "value": "21/5"
        },
        {
          "output": [
            0,
            4
          ],
          "input_coordinate_clamped": [
            "0",
            "2"
          ],
          "corners": [
            [
              0,
              2
            ],
            [
              0,
              2
            ],
            [
              1,
              2
            ],
            [
              1,
              2
            ]
          ],
          "weights": [
            "1",
            "0",
            "0",
            "0"
          ],
          "value": "1"
        },
        {
          "output": [
            1,
            0
          ],
          "input_coordinate_clamped": [
            "5/8",
            "0"
          ],
          "corners": [
            [
              0,
              0
            ],
            [
              0,
              1
            ],
            [
              1,
              0
            ],
            [
              1,
              1
            ]
          ],
          "weights": [
            "3/8",
            "0",
            "5/8",
            "0"
          ],
          "value": "15/4"
        },
        {
          "output": [
            1,
            1
          ],
          "input_coordinate_clamped": [
            "5/8",
            "2/5"
          ],
          "corners": [
            [
              0,
              0
            ],
            [
              0,
              1
            ],
            [
              1,
              0
            ],
            [
              1,
              1
            ]
          ],
          "weights": [
            "9/40",
            "3/20",
            "3/8",
            "1/4"
          ],
          "value": "41/10"
        },
        {
          "output": [
            1,
            2
          ],
          "input_coordinate_clamped": [
            "5/8",
            "1"
          ],
          "corners": [
            [
              0,
              1
            ],
            [
              0,
              2
            ],
            [
              1,
              1
            ],
            [
              1,
              2
            ]
          ],
          "weights": [
            "3/8",
            "0",
            "5/8",
            "0"
          ],
          "value": "37/8"
        },
        {
          "output": [
            1,
            3
          ],
          "input_coordinate_clamped": [
            "5/8",
            "8/5"
          ],
          "corners": [
            [
              0,
              1
            ],
            [
              0,
              2
            ],
            [
              1,
              1
            ],
            [
              1,
              2
            ]
          ],
          "weights": [
            "3/20",
            "9/40",
            "1/4",
            "3/8"
          ],
          "value": "203/40"
        },
        {
          "output": [
            1,
            4
          ],
          "input_coordinate_clamped": [
            "5/8",
            "2"
          ],
          "corners": [
            [
              0,
              2
            ],
            [
              0,
              2
            ],
            [
              1,
              2
            ],
            [
              1,
              2
            ]
          ],
          "weights": [
            "3/8",
            "0",
            "5/8",
            "0"
          ],
          "value": "43/8"
        },
        {
          "output": [
            2,
            0
          ],
          "input_coordinate_clamped": [
            "11/8",
            "0"
          ],
          "corners": [
            [
              1,
              0
            ],
            [
              1,
              1
            ],
            [
              2,
              0
            ],
            [
              2,
              1
            ]
          ],
          "weights": [
            "5/8",
            "0",
            "3/8",
            "0"
          ],
          "value": "39/8"
        },
        {
          "output": [
            2,
            1
          ],
          "input_coordinate_clamped": [
            "11/8",
            "2/5"
          ],
          "corners": [
            [
              1,
              0
            ],
            [
              1,
              1
            ],
            [
              2,
              0
            ],
            [
              2,
              1
            ]
          ],
          "weights": [
            "3/8",
            "1/4",
            "9/40",
            "3/20"
          ],
          "value": "179/40"
        },
        {
          "output": [
            2,
            2
          ],
          "input_coordinate_clamped": [
            "11/8",
            "1"
          ],
          "corners": [
            [
              1,
              1
            ],
            [
              1,
              2
            ],
            [
              2,
              1
            ],
            [
              2,
              2
            ]
          ],
          "weights": [
            "5/8",
            "0",
            "3/8",
            "0"
          ],
          "value": "31/8"
        },
        {
          "output": [
            2,
            3
          ],
          "input_coordinate_clamped": [
            "11/8",
            "8/5"
          ],
          "corners": [
            [
              1,
              1
            ],
            [
              1,
              2
            ],
            [
              2,
              1
            ],
            [
              2,
              2
            ]
          ],
          "weights": [
            "1/4",
            "3/8",
            "3/20",
            "9/40"
          ],
          "value": "109/20"
        },
        {
          "output": [
            2,
            4
          ],
          "input_coordinate_clamped": [
            "11/8",
            "2"
          ],
          "corners": [
            [
              1,
              2
            ],
            [
              1,
              2
            ],
            [
              2,
              2
            ],
            [
              2,
              2
            ]
          ],
          "weights": [
            "5/8",
            "0",
            "3/8",
            "0"
          ],
          "value": "13/2"
        },
        {
          "output": [
            3,
            0
          ],
          "input_coordinate_clamped": [
            "2",
            "0"
          ],
          "corners": [
            [
              2,
              0
            ],
            [
              2,
              1
            ],
            [
              2,
              0
            ],
            [
              2,
              1
            ]
          ],
          "weights": [
            "1",
            "0",
            "0",
            "0"
          ],
          "value": "3"
        },
        {
          "output": [
            3,
            1
          ],
          "input_coordinate_clamped": [
            "2",
            "2/5"
          ],
          "corners": [
            [
              2,
              0
            ],
            [
              2,
              1
            ],
            [
              2,
              0
            ],
            [
              2,
              1
            ]
          ],
          "weights": [
            "3/5",
            "2/5",
            "0",
            "0"
          ],
          "value": "23/5"
        },
        {
          "output": [
            3,
            2
          ],
          "input_coordinate_clamped": [
            "2",
            "1"
          ],
          "corners": [
            [
              2,
              1
            ],
            [
              2,
              2
            ],
            [
              2,
              1
            ],
            [
              2,
              2
            ]
          ],
          "weights": [
            "1",
            "0",
            "0",
            "0"
          ],
          "value": "7"
        },
        {
          "output": [
            3,
            3
          ],
          "input_coordinate_clamped": [
            "2",
            "8/5"
          ],
          "corners": [
            [
              2,
              1
            ],
            [
              2,
              2
            ],
            [
              2,
              1
            ],
            [
              2,
              2
            ]
          ],
          "weights": [
            "2/5",
            "3/5",
            "0",
            "0"
          ],
          "value": "26/5"
        },
        {
          "output": [
            3,
            4
          ],
          "input_coordinate_clamped": [
            "2",
            "2"
          ],
          "corners": [
            [
              2,
              2
            ],
            [
              2,
              2
            ],
            [
              2,
              2
            ],
            [
              2,
              2
            ]
          ],
          "weights": [
            "1",
            "0",
            "0",
            "0"
          ],
          "value": "4"
        }
      ],
      "plane_at_1_1": "15/2"
    },
    "align_corners": {
      "values": [
        [
          "0",
          "9/2",
          "9",
          "5",
          "1"
        ],
        [
          "4",
          "25/6",
          "13/3",
          "5",
          "17/3"
        ],
        [
          "5",
          "13/3",
          "11/3",
          "31/6",
          "20/3"
        ],
        [
          "3",
          "5",
          "7",
          "11/2",
          "4"
        ]
      ],
      "all_coordinate_weight_rows": [
        {
          "output": [
            0,
            0
          ],
          "input_coordinate_clamped": [
            "0",
            "0"
          ],
          "corners": [
            [
              0,
              0
            ],
            [
              0,
              1
            ],
            [
              1,
              0
            ],
            [
              1,
              1
            ]
          ],
          "weights": [
            "1",
            "0",
            "0",
            "0"
          ],
          "value": "0"
        },
        {
          "output": [
            0,
            1
          ],
          "input_coordinate_clamped": [
            "0",
            "1/2"
          ],
          "corners": [
            [
              0,
              0
            ],
            [
              0,
              1
            ],
            [
              1,
              0
            ],
            [
              1,
              1
            ]
          ],
          "weights": [
            "1/2",
            "1/2",
            "0",
            "0"
          ],
          "value": "9/2"
        },
        {
          "output": [
            0,
            2
          ],
          "input_coordinate_clamped": [
            "0",
            "1"
          ],
          "corners": [
            [
              0,
              1
            ],
            [
              0,
              2
            ],
            [
              1,
              1
            ],
            [
              1,
              2
            ]
          ],
          "weights": [
            "1",
            "0",
            "0",
            "0"
          ],
          "value": "9"
        },
        {
          "output": [
            0,
            3
          ],
          "input_coordinate_clamped": [
            "0",
            "3/2"
          ],
          "corners": [
            [
              0,
              1
            ],
            [
              0,
              2
            ],
            [
              1,
              1
            ],
            [
              1,
              2
            ]
          ],
          "weights": [
            "1/2",
            "1/2",
            "0",
            "0"
          ],
          "value": "5"
        },
        {
          "output": [
            0,
            4
          ],
          "input_coordinate_clamped": [
            "0",
            "2"
          ],
          "corners": [
            [
              0,
              2
            ],
            [
              0,
              2
            ],
            [
              1,
              2
            ],
            [
              1,
              2
            ]
          ],
          "weights": [
            "1",
            "0",
            "0",
            "0"
          ],
          "value": "1"
        },
        {
          "output": [
            1,
            0
          ],
          "input_coordinate_clamped": [
            "2/3",
            "0"
          ],
          "corners": [
            [
              0,
              0
            ],
            [
              0,
              1
            ],
            [
              1,
              0
            ],
            [
              1,
              1
            ]
          ],
          "weights": [
            "1/3",
            "0",
            "2/3",
            "0"
          ],
          "value": "4"
        },
        {
          "output": [
            1,
            1
          ],
          "input_coordinate_clamped": [
            "2/3",
            "1/2"
          ],
          "corners": [
            [
              0,
              0
            ],
            [
              0,
              1
            ],
            [
              1,
              0
            ],
            [
              1,
              1
            ]
          ],
          "weights": [
            "1/6",
            "1/6",
            "1/3",
            "1/3"
          ],
          "value": "25/6"
        },
        {
          "output": [
            1,
            2
          ],
          "input_coordinate_clamped": [
            "2/3",
            "1"
          ],
          "corners": [
            [
              0,
              1
            ],
            [
              0,
              2
            ],
            [
              1,
              1
            ],
            [
              1,
              2
            ]
          ],
          "weights": [
            "1/3",
            "0",
            "2/3",
            "0"
          ],
          "value": "13/3"
        },
        {
          "output": [
            1,
            3
          ],
          "input_coordinate_clamped": [
            "2/3",
            "3/2"
          ],
          "corners": [
            [
              0,
              1
            ],
            [
              0,
              2
            ],
            [
              1,
              1
            ],
            [
              1,
              2
            ]
          ],
          "weights": [
            "1/6",
            "1/6",
            "1/3",
            "1/3"
          ],
          "value": "5"
        },
        {
          "output": [
            1,
            4
          ],
          "input_coordinate_clamped": [
            "2/3",
            "2"
          ],
          "corners": [
            [
              0,
              2
            ],
            [
              0,
              2
            ],
            [
              1,
              2
            ],
            [
              1,
              2
            ]
          ],
          "weights": [
            "1/3",
            "0",
            "2/3",
            "0"
          ],
          "value": "17/3"
        },
        {
          "output": [
            2,
            0
          ],
          "input_coordinate_clamped": [
            "4/3",
            "0"
          ],
          "corners": [
            [
              1,
              0
            ],
            [
              1,
              1
            ],
            [
              2,
              0
            ],
            [
              2,
              1
            ]
          ],
          "weights": [
            "2/3",
            "0",
            "1/3",
            "0"
          ],
          "value": "5"
        },
        {
          "output": [
            2,
            1
          ],
          "input_coordinate_clamped": [
            "4/3",
            "1/2"
          ],
          "corners": [
            [
              1,
              0
            ],
            [
              1,
              1
            ],
            [
              2,
              0
            ],
            [
              2,
              1
            ]
          ],
          "weights": [
            "1/3",
            "1/3",
            "1/6",
            "1/6"
          ],
          "value": "13/3"
        },
        {
          "output": [
            2,
            2
          ],
          "input_coordinate_clamped": [
            "4/3",
            "1"
          ],
          "corners": [
            [
              1,
              1
            ],
            [
              1,
              2
            ],
            [
              2,
              1
            ],
            [
              2,
              2
            ]
          ],
          "weights": [
            "2/3",
            "0",
            "1/3",
            "0"
          ],
          "value": "11/3"
        },
        {
          "output": [
            2,
            3
          ],
          "input_coordinate_clamped": [
            "4/3",
            "3/2"
          ],
          "corners": [
            [
              1,
              1
            ],
            [
              1,
              2
            ],
            [
              2,
              1
            ],
            [
              2,
              2
            ]
          ],
          "weights": [
            "1/3",
            "1/3",
            "1/6",
            "1/6"
          ],
          "value": "31/6"
        },
        {
          "output": [
            2,
            4
          ],
          "input_coordinate_clamped": [
            "4/3",
            "2"
          ],
          "corners": [
            [
              1,
              2
            ],
            [
              1,
              2
            ],
            [
              2,
              2
            ],
            [
              2,
              2
            ]
          ],
          "weights": [
            "2/3",
            "0",
            "1/3",
            "0"
          ],
          "value": "20/3"
        },
        {
          "output": [
            3,
            0
          ],
          "input_coordinate_clamped": [
            "2",
            "0"
          ],
          "corners": [
            [
              2,
              0
            ],
            [
              2,
              1
            ],
            [
              2,
              0
            ],
            [
              2,
              1
            ]
          ],
          "weights": [
            "1",
            "0",
            "0",
            "0"
          ],
          "value": "3"
        },
        {
          "output": [
            3,
            1
          ],
          "input_coordinate_clamped": [
            "2",
            "1/2"
          ],
          "corners": [
            [
              2,
              0
            ],
            [
              2,
              1
            ],
            [
              2,
              0
            ],
            [
              2,
              1
            ]
          ],
          "weights": [
            "1/2",
            "1/2",
            "0",
            "0"
          ],
          "value": "5"
        },
        {
          "output": [
            3,
            2
          ],
          "input_coordinate_clamped": [
            "2",
            "1"
          ],
          "corners": [
            [
              2,
              1
            ],
            [
              2,
              2
            ],
            [
              2,
              1
            ],
            [
              2,
              2
            ]
          ],
          "weights": [
            "1",
            "0",
            "0",
            "0"
          ],
          "value": "7"
        },
        {
          "output": [
            3,
            3
          ],
          "input_coordinate_clamped": [
            "2",
            "3/2"
          ],
          "corners": [
            [
              2,
              1
            ],
            [
              2,
              2
            ],
            [
              2,
              1
            ],
            [
              2,
              2
            ]
          ],
          "weights": [
            "1/2",
            "1/2",
            "0",
            "0"
          ],
          "value": "11/2"
        },
        {
          "output": [
            3,
            4
          ],
          "input_coordinate_clamped": [
            "2",
            "2"
          ],
          "corners": [
            [
              2,
              2
            ],
            [
              2,
              2
            ],
            [
              2,
              2
            ],
            [
              2,
              2
            ]
          ],
          "weights": [
            "1",
            "0",
            "0",
            "0"
          ],
          "value": "4"
        }
      ],
      "plane_at_1_1": "10"
    }
  },
  "nonplanar_four_weight_vs_separable_cells": 40,
  "plane_closed_form_cells": 32,
  "invalid_cases_rejected": [
    "singleton_out",
    "bool_shape",
    "ragged",
    "nonfinite",
    "bad_mode",
    "budget",
    "singleton_input"
  ],
  "scope": "Own clamped-edge gray2D subset, axes>=2, exact Fraction. Not whole ONNX/Pillow/OpenCV, no antialias or recovered detail or library benchmark."
}
