APISonar


lombok.val.math

> lombok > val > math
lombok APIs val APIs math APIs

Example 1
public void testVariableNaming_1() {
        val sd = SameDiff.create();

        val input = sd.var("inp", new long[]{2, 3});

        val nodeA = sd.math().square(input);
        val nodeB = sd.math().square(nodeA);

        sd.associateArrayWithVariable(Nd4j.create(new double[]{1, 2, 3, 4, 5, 6}, new long[]{2, 3}), input);

        sd.outputAll(null);

        nodeA.isPlaceHolder();
    }