cn.centipede.numpy.Numpy.np.checkset()

Here are the examples of the java api cn.centipede.numpy.Numpy.np.checkset() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

19 Source : Relu.java
with MIT License
from DRL-CASIA

public NDArray backward(NDArray delta) {
    // delta[self.x<0] = 0;
    np.checkset(delta, x, (n) -> (double) n < 0, 0.);
    return delta;
}