All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.nd4j.linalg.api.ops.custom.KnnMinDistance Maven / Gradle / Ivy

There is a newer version: 1.0.0-M2.1
Show newest version
package org.nd4j.linalg.api.ops.custom;

import org.nd4j.linalg.api.ndarray.INDArray;
import org.nd4j.linalg.api.ops.DynamicCustomOp;

public class KnnMinDistance extends DynamicCustomOp {

    public KnnMinDistance() {
    }

    public KnnMinDistance(INDArray point, INDArray lowest, INDArray highest, INDArray distance) {
        inputArguments.add(point);
        inputArguments.add(lowest);
        inputArguments.add(highest);

        outputArguments.add(distance);
    }

    @Override
    public String opName() {
        return "knn_mindistance";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy