Preparing search index...

    Function applyThreshold

    • Applies a fixed-level threshold to each array element.

      Parameters

      • inTensor: Float32Array
      • threshold: number
      • maxValue: number
      • type: ThresholdMethod
      • outTensor: Float32Array

      Returns void