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

Function TF_OpKernelConstruction_Failure

tensorflow/c/kernels.cc:206–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204}
205
206void TF_OpKernelConstruction_Failure(TF_OpKernelConstruction* ctx,
207 TF_Status* status) {
208 auto* cc_ctx = reinterpret_cast<::tensorflow::OpKernelConstruction*>(ctx);
209 ::tensorflow::Status s(::tensorflow::StatusFromTF_Status(status));
210 cc_ctx->CtxFailure(s);
211}
212
213void TF_OpKernelContext_Failure(TF_OpKernelContext* ctx, TF_Status* status) {
214 auto* cc_ctx = reinterpret_cast<::tensorflow::OpKernelContext*>(ctx);

Callers 1

BitcastOp_CreateFunction · 0.85

Calls 2

StatusFromTF_StatusFunction · 0.85
CtxFailureMethod · 0.45

Tested by

no test coverage detected