A compute function. This will never actually get called in this test, it's just nice to know that it compiles.
| 38 | // A compute function. This will never actually get called in this test, it's |
| 39 | // just nice to know that it compiles. |
| 40 | void compute(void* kernel, TF_OpKernelContext* ctx) { |
| 41 | TF_Tensor* input; |
| 42 | TF_Status* s = TF_NewStatus(); |
| 43 | TF_GetInput(ctx, 0, &input, s); |
| 44 | TF_DeleteTensor(input); |
| 45 | TF_DeleteStatus(s); |
| 46 | } |
| 47 | |
| 48 | // Exercises tensorflow's C API. |
| 49 | int main(int argc, char** argv) { |
no test coverage detected