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

Method sub

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

Source from the content-addressed store, hash-verified

140 }
141 throw new Error(`Cannot cast ${x} to ${dtype}`);
142 }
143
144 /**
145 * The value of a cell as a number literal. `ce.number()` boxes a value
146 * that is an integer as an exact integer, and any other value as a float.
147 * In a float tensor, an integer value is boxed as a float too.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected