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

Method Name

tensorflow/core/framework/op_kernel.h:1464–1465  ·  view source on GitHub ↗

With selective registration, kernels whose implementation class is not used by any kernel are disabled with the SHOULD_REGISTER_OP_KERNEL call in REGISTER_KERNEL_BUILDER_UNIQ. However, an unused kernel that shares an implementation class with a used kernel would get through that mechanism. This mechanism stops that registration by changing the name of the kernel for the unused op to one that is i

Source from the content-addressed store, hash-verified

1462 // not sufficient - the compiler can't evaluate the entire KernelDefBuilder at
1463 // compilation time, so this method doesn't actually reduce code size.
1464 explicit Name(const char* op)
1465 : KernelDefBuilder(SHOULD_REGISTER_OP(op) ? op : "_no_register") {}
1466};
1467
1468namespace system {

Callers 12

RecordDeallocationMethod · 0.45
allocate_tensorMethod · 0.45
RecordRawAllocationMethod · 0.45
RecordRawDeallocationMethod · 0.45
PrepareRemoteOpFunction · 0.45
TFE_AddEagerOpToGraphFunction · 0.45
TFE_InferShapesFunction · 0.45
GetOpDefFunction · 0.45
TFE_OpSetAttrFunctionFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected