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

Method divide

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

Source from the content-addressed store, hash-verified

308 }
309
310 divide(a: Tensor, b: Tensor): Tensor {
311 const opAttrs = [createTensorsTypeOpAttr(
312 'T', backend_util.upcastType(a.dtype, b.dtype))];
313 return this.executeSingleOutput('Div', opAttrs, [a, b]);
314 }
315
316 divNoNan(a: Tensor, b: Tensor): Tensor {
317 const opAttrs = [createTensorsTypeOpAttr(

Callers

nothing calls this directly

Calls 2

executeSingleOutputMethod · 0.95
createTensorsTypeOpAttrFunction · 0.85

Tested by

no test coverage detected