| 30 | using OpKernel::OpKernel; |
| 31 | |
| 32 | void Compute(OpKernelContext* context) override { |
| 33 | ReaderInterface* reader; |
| 34 | OP_REQUIRES_OK(context, |
| 35 | GetResourceFromContext(context, "reader_handle", &reader)); |
| 36 | ComputeWithReader(context, reader); |
| 37 | reader->Unref(); |
| 38 | } |
| 39 | |
| 40 | protected: |
| 41 | virtual void ComputeWithReader(OpKernelContext* context, |
nothing calls this directly
no test coverage detected