TensorMath.power
FunctionRaises elements of inTensor to the power of val, and puts the results into outTensor.
- Available on all platforms
Platform details: Snapchat, SPECS, Camera Kit Web, Camera Kit Mobile fully supported.
power(
inTensor,val,outTensor):void
Raises elements of inTensor to the power of val, and puts the results into outTensor.
Parameters
| Parameter | Type |
|---|---|
inTensor | Float32Array |
val | number |
outTensor | Float32Array |
Returns
void