Lens Scripting API
Editor Scripting API
Guide Docs
Preparing search index...
Built-In
TensorMath
applyThreshold
Function applyThreshold
applyThreshold
(
inTensor
:
Float32Array
,
threshold
:
number
,
maxValue
:
number
,
type
:
ThresholdMethod
,
outTensor
:
Float32Array
,
)
:
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
Deprecated
Theme
OS
Light
Dark
Editor Scripting API
Guide Docs
Lens Scripting API
Loading...
Applies a fixed-level threshold to each array element.