MCPcopy Create free account
hub / github.com/tensorflow/tfjs / divNoNan

Method divNoNan

tfjs-node/src/nodejs_kernel_backend.ts:316–320  ·  view source on GitHub ↗
(a: Tensor, b: Tensor)

Source from the content-addressed store, hash-verified

314 }
315
316 divNoNan(a: Tensor, b: Tensor): Tensor {
317 const opAttrs = [createTensorsTypeOpAttr(
318 'T', backend_util.upcastType(a.dtype, b.dtype))];
319 return this.executeSingleOutput('DivNoNan', opAttrs, [a, b]);
320 }
321
322 where(condition: Tensor): Tensor2D {
323 return this.executeSingleOutput('Where', [], [condition]) as Tensor2D;

Callers

nothing calls this directly

Calls 2

executeSingleOutputMethod · 0.95
createTensorsTypeOpAttrFunction · 0.85

Tested by

no test coverage detected