org.nd4j.imports.graphmapper.OpImportOverride Maven / Gradle / Ivy
package org.nd4j.imports.graphmapper;
import org.nd4j.autodiff.samediff.SDVariable;
import org.nd4j.autodiff.samediff.SameDiff;
import java.util.List;
import java.util.Map;
/**
* An interface for overriding the import of an operation
* @author Alex Black
*/
public interface OpImportOverride {
/**
* Initialize the operation and return its output variables
*/
List initFromTensorFlow(List inputs, List controlDepInputs, NODE_TYPE nodeDef, SameDiff initWith, Map attributesForNode, GRAPH_TYPE graph);
}