MCPcopy Index your code
hub / github.com/tensorflow/tfjs / getGradient

Function getGradient

tfjs-core/src/kernel_registry.ts:98–100  ·  view source on GitHub ↗
(kernelName: string)

Source from the content-addressed store, hash-verified

96 * @param kernelName The official TF kernel name.
97 */
98export function getGradient(kernelName: string): GradConfig {
99 return gradRegistry.get(kernelName);
100}
101
102export function getKernelsForBackend(backendName: string): KernelConfig[] {
103 const it = kernelRegistry.entries();

Callers 2

getTensorsForGradientMethod · 0.90
addTapeNodeMethod · 0.90

Calls 1

getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…