Adds an OkOp with input tensor `input` and output tensor `output`.
| 1901 | |
| 1902 | // Adds an OkOp with input tensor `input` and output tensor `output`. |
| 1903 | void MakeOkNode(int input, int output) { |
| 1904 | TfLiteRegistration op = OkOpRegistration(); |
| 1905 | ASSERT_EQ(interpreter_.AddNodeWithParameters({input}, {output}, nullptr, 0, |
| 1906 | nullptr, &op), |
| 1907 | kTfLiteOk); |
| 1908 | ASSERT_EQ(interpreter_.ResizeInputTensor(input, {3}), kTfLiteOk); |
| 1909 | } |
| 1910 | |
| 1911 | Interpreter interpreter_; |
| 1912 |
nothing calls this directly
no test coverage detected