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

Method addn

src/compute-engine/tensor/tensor-fields.ts:134–136  ·  view source on GitHub ↗
(...xs: number[])

Source from the content-addressed store, hash-verified

132 // case 'string':
133 // return Array.isArray(x)
134 // ? x.map((x) => Number(x).toString())
135 // : Number(x).toString();
136 case 'expression':
137 return Array.isArray(x)
138 ? x.map((x) => this.expression(x))
139 : this.expression(x);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected