@Override
    public INDArray[] executeGraph(SameDiff graph, ExecutorConfiguration configuration) {
        return new INDArray[]{graph.execAndEndResult()};
    }
@Override
    public INDArray[] executeGraph(SameDiff graph, ExecutorConfiguration configuration) {
        return new INDArray[]{graph.execAndEndResult()};
    }
@ Override public INDArray [ ] executeGraph ( SameDiff graph , ExecutorConfiguration configuration ) { return new INDArray [ ] { graph . execAndEndResult ( ) } ; }
This method executes given graph and returns results

@param graph
@return
This method executes given graph and returns results