nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java
public INDArray execAndEndResult(List<DifferentialFunction> ops) {
        List<DifferentialFunction> exec = exec(ops);
        Op op = (Op) exec.get(exec.size() - 1);
        return op.z();
    }
public INDArray execAndEndResult(List<DifferentialFunction> ops) {
        List<DifferentialFunction> exec = exec(ops);
        Op op = (Op) exec.get(exec.size() - 1);
        return op.z();
    }
public INDArray execAndEndResult ( List < DifferentialFunction > ops ) { List < DifferentialFunction > exec = exec ( ops ) ; Op op = ( Op ) exec . get ( exec . size ( ) - 1 ) ; return op . z ( ) ; }
u

@return
u