Skip to main content

TensorMath.divTensors

Function

Divides 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.

Platform details

  • Snapchat — Fully supported.

  • SPECS — Fully supported.

  • Camera Kit Web — Fully supported.

  • 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

ParameterType
inTensorAFloat32Array
inShapeAvec3
inTensorBFloat32Array
inShapeBvec3
outTensorFloat32Array

Returns

void