(kernelName: string)
| 125 | // they will have __op as a suffix. These do not have corresponding backend |
| 126 | // kernels so we need to filter them out. |
| 127 | function isNotCustomOp(kernelName: string) { |
| 128 | // opSuffix value is defined in tfjs-core/src/operation.ts |
| 129 | // duplicating it here to avoid an export. |
| 130 | return !kernelName.endsWith(OP_SCOPE_SUFFIX); |
| 131 | } |
| 132 | |
| 133 | return config.kernels.filter(isNotCustomOp); |
| 134 | } |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…