| 211 | } |
| 212 | |
| 213 | void TF_OpKernelContext_Failure(TF_OpKernelContext* ctx, TF_Status* status) { |
| 214 | auto* cc_ctx = reinterpret_cast<::tensorflow::OpKernelContext*>(ctx); |
| 215 | ::tensorflow::Status s(::tensorflow::StatusFromTF_Status(status)); |
| 216 | cc_ctx->CtxFailure(s); |
| 217 | } |
| 218 | |
| 219 | #define DEFINE_TF_GETATTR(func, c_type, cc_type) \ |
| 220 | void TF_OpKernelConstruction_GetAttr##func(TF_OpKernelConstruction* ctx, \ |
no test coverage detected