TensorMath.argSort
FunctionSimilar to numpy.argsort(), but in TensorMath, we have no kind and order parameters.
- Available on all platforms
Platform details: Snapchat, SPECS, Camera Kit Web, Camera Kit Mobile fully supported.
argSort(
inTensor,shape,axis,outTensor):void
Similar to numpy.argsort(), but in TensorMath, we have no kind and order parameters. Also, tensor is always 3D, and axis can be equal to 0(x), 1(y) or 2(z).
Parameters
| Parameter | Type |
|---|---|
inTensor | Float32Array |
shape | vec3 |
axis | number |
outTensor | Uint32Array |
Returns
void