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

Function create

tensorflow/c/c_test.c:30–36  ·  view source on GitHub ↗

A create function. This will never actually get called in this test, it's just nice to know that it compiles.

Source from the content-addressed store, hash-verified

28// A create function. This will never actually get called in this test, it's
29// just nice to know that it compiles.
30void* create(TF_OpKernelConstruction* ctx) {
31 TF_DataType type;
32 TF_Status* s = TF_NewStatus();
33 TF_OpKernelConstruction_GetAttrType(ctx, "foobar", &type, s);
34 TF_DeleteStatus(s);
35 return NULL;
36}
37
38// A compute function. This will never actually get called in this test, it's
39// just nice to know that it compiles.

Callers 15

__init__Method · 0.85
ConvertSubgraphFunction · 0.85
FlatBufferToMlirMethod · 0.85
createLstmCompositeFuncFunction · 0.85
matchAndRewriteMethod · 0.85
OutlineWhileMethod · 0.85
BuildFusedFuncOpFunction · 0.85
matchAndRewriteMethod · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
runOnModuleMethod · 0.85

Calls 2

TF_NewStatusFunction · 0.85
TF_DeleteStatusFunction · 0.85

Tested by

no test coverage detected