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

Method Set

tensorflow/core/common_runtime/function.cc:1295–1298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1293 CustomKernelCreator* custom_creator = nullptr;
1294
1295 void Set(CustomKernelCreator* cb) {
1296 mutex_lock l(mu);
1297 custom_creator = cb;
1298 }
1299
1300 CustomKernelCreator* Get() {
1301 mutex_lock l(mu);

Callers 10

NewSessionFunction · 0.45
NewSessionGroupFunction · 0.45
SetupNewOpMethod · 0.45
TESTFunction · 0.45
BM_KernelAndDeviceInitFunction · 0.45
BM_KernelAndDeviceRunFunction · 0.45
TESTFunction · 0.45
EagerLocalExecuteFunction · 0.45
EagerContextMethod · 0.45

Calls

no outgoing calls

Tested by 4

TESTFunction · 0.36
BM_KernelAndDeviceInitFunction · 0.36
BM_KernelAndDeviceRunFunction · 0.36
TESTFunction · 0.36