TensorMath.max
FunctionPlaces the maximum values of inTensor into outTensor.
- Available on all platforms
Platform details: Snapchat, SPECS, Camera Kit Web, Camera Kit Mobile fully supported.
max(
inTensor,inShape,outTensor):void
Places the maximum values of inTensor into outTensor.
outTensor should have the shape {1, 1, channels}.
Parameters
| Parameter | Type |
|---|---|
inTensor | Float32Array |
inShape | vec3 |
outTensor | Float32Array |
Returns
void