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
| 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 | |
| 1468 | namespace system { |
no outgoing calls
no test coverage detected