TensorMath.mulTensors
FunctionMultiplies inTensorA and inTensorB and puts the result into outTensor.
- Available on all platforms
Platform details: Snapchat, SPECS, Camera Kit Web, Camera Kit Mobile fully supported.
mulTensors(
inTensorA,inShapeA,inTensorB,inShapeB,outTensor):void
Multiplies inTensorA and 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