Preparing search index...
The search index is not available
Lens Studio API [Beta]
Lens Studio API [Beta]
Lens Scripting
Built-In
TensorMath
applyThreshold
Function applyThreshold
apply
Threshold
(
inTensor
,
threshold
,
maxValue
,
type
,
outTensor
)
:
void
Applies a fixed-level threshold to each array element.
Parameters
inTensor
:
Float32Array
threshold
:
number
maxValue
:
number
type
:
ThresholdMethod
outTensor
:
Float32Array
Returns
void
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
Lens Studio API [Beta]
Loading...
Applies a fixed-level threshold to each array element.