MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / add

Method add

src/compute-engine/tensor/tensor-fields.ts:130–132  ·  view source on GitHub ↗
(lhs: number, rhs: number)

Source from the content-addressed store, hash-verified

128 ? x.map((x) => (x === 0 ? false : true))
129 : x === 0
130 ? false
131 : true;
132 // case 'string':
133 // return Array.isArray(x)
134 // ? x.map((x) => Number(x).toString())
135 // : Number(x).toString();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected