TensorMath.softArgMax
FunctionApplies softArgMax function to the inTensor, with the specified inShape.
- Available on all platforms
Platform details: Snapchat, SPECS, Camera Kit Web, Camera Kit Mobile fully supported.
softArgMax(
inTensor,inShape,outTensor,normalized):void
Applies softArgMax function to the inTensor, with the specified inShape. The result is put into outTensor.
If inShape = {width, height, channels}, then the shape of outTensor should be {1, 2, channels}.
Parameters
| Parameter | Type |
|---|---|
inTensor | Float32Array |
inShape | vec3 |
outTensor | Float32Array |
normalized | boolean |
Returns
void