use of org.nd4j.autodiff.samediff.SameDiffOpExecutioner in project nd4j by deeplearning4j.
the class SameDiffOpExecutionerTest method testupdateGraphFromProfiler.
@Test
public void testupdateGraphFromProfiler() {
SameDiffOpExecutioner sameDiffOpExecutioner = new SameDiffOpExecutioner();
Nd4j.getExecutioner().setProfilingMode(OpExecutioner.ProfilingMode.ALL);
Nd4j.getExecutioner().exec(new Sigmoid(Nd4j.scalar(1.0)));
SameDiff sameDiff = sameDiffOpExecutioner.getSameDiff();
}
Aggregations