MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / TF_OpKernelContext_Failure

Function TF_OpKernelContext_Failure

tensorflow/c/kernels.cc:213–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211}
212
213void 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, \

Callers 1

BitcastOp_ComputeFunction · 0.85

Calls 2

StatusFromTF_StatusFunction · 0.85
CtxFailureMethod · 0.45

Tested by

no test coverage detected