TensorMath.divTensors
FunctionDivides inTensorA by inTensorB and puts the result into outTensor.
- Available on all platforms
Platform details: Snapchat, SPECS, Camera Kit Web, Camera Kit Mobile fully supported.
divTensors(
inTensorA,inShapeA,inTensorB,inShapeB,outTensor):void
Divides inTensorA by inTensorB and puts the result into outTensor. See broadcasting rules for elementwise operations.
Parameters
| Parameter | Type |
|---|---|
inTensorA | Float32Array |
inShapeA | vec3 |
inTensorB | Float32Array |
inShapeB | vec3 |
outTensor | Float32Array |
Returns
void