Adds an CancelOp with input tensor `input` and output tensor `output`.
| 1892 | |
| 1893 | // Adds an CancelOp with input tensor `input` and output tensor `output`. |
| 1894 | void MakeCancelNode(int input, int output) { |
| 1895 | TfLiteRegistration op = CancelOpRegistration(); |
| 1896 | ASSERT_EQ(interpreter_.AddNodeWithParameters({input}, {output}, nullptr, 0, |
| 1897 | nullptr, &op), |
| 1898 | kTfLiteOk); |
| 1899 | ASSERT_EQ(interpreter_.ResizeInputTensor(input, {3}), kTfLiteOk); |
| 1900 | } |
| 1901 | |
| 1902 | // Adds an OkOp with input tensor `input` and output tensor `output`. |
| 1903 | void MakeOkNode(int input, int output) { |
nothing calls this directly
no test coverage detected