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

org.nd4j.linalg.api.ops.DefaultOpConverter Maven / Gradle / Ivy

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

import org.nd4j.autodiff.samediff.SDVariable;
import org.nd4j.imports.NoOpNameFoundException;

import java.util.List;

public class DefaultOpConverter extends BaseOp {
    private static DefaultOpConverter INSTANCE = new DefaultOpConverter();
    public static DefaultOpConverter getInstance() {
        return INSTANCE;
    }

    @Override
    public List doDiff(List f1) {
        return null;
    }

    @Override
    public int opNum() {
        return 0;
    }

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

    @Override
    public String onnxName() {
        throw new NoOpNameFoundException("No onnx op opName found for " +  opName());
    }

    @Override
    public String tensorflowName() {
        throw new NoOpNameFoundException("No tensorflow op opName found for " +  opName());
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy