TensorMath.powerToDb
FunctionConverts inTensor from the power scale to the decibel scale.
- Available on all platforms
Platform details: Snapchat, SPECS, Camera Kit Web, Camera Kit Mobile fully supported.
powerToDb(
inTensor,topDb,outTensor):void
Converts inTensor from the power scale to the decibel scale.
Parameters
| Parameter | Type |
|---|---|
inTensor | Float32Array |
topDb | number |
outTensor | Float32Array |
Returns
void