Lens Scripting API

    Class Delta

    Local estimate of the derivative of the input data along the selected axis. Outputs the derivative of the input features along the window.

    var deltaBuilder = MachineLearning.createDeltaBuilder();
    var delta = deltaBuilder.setNumFeatures(numFeatures).setWindowSize(windowSize).build();

    Hierarchy (View Summary, Expand)

    Index

    Constructors

    Properties

    maxTensorSize: number

    Maximum amount of features (channels).

    Methods

    • Returns true if the object matches or derives from the passed in type.

      Parameters

      • type: string

      Returns boolean

    • Returns true if this object is the same as other. Useful for checking if two references point to the same thing.

      Parameters

      Returns boolean

    • Process inTensor with shape inShape and writes the result to the outTensor and returns the shape of outTensor.

      Parameters

      • inTensor: Float32Array
      • inShape: vec3
      • outTensor: Float32Array

      Returns vec3

    MMNEPVFCICPMFPCPTTAAATR