public class BernoulliDistribution extends BaseRandomOp
extraArgs, extraArgz, n, numProcessed, passThrough, x, y, z
Constructor and Description |
---|
BernoulliDistribution() |
BernoulliDistribution(INDArray z,
double prob)
This op fills Z with bernoulli trial results, so 0, or 1, depending by common probability
|
BernoulliDistribution(INDArray z,
INDArray prob)
This op fills Z with bernoulli trial results, so 0, or 1, each element will have it's own success probability defined in prob array
|
Modifier and Type | Method and Description |
---|---|
String |
name()
The name of this operation
|
int |
opNum()
An op number
|
op, op, op, op, op, op, op, op, opForDimension, opForDimension
exec, exec, extraArgs, extraArgsBuff, extraArgsDataBuff, getOpType, init, isExecSpecial, isPassThrough, n, numProcessed, setN, setX, setY, setZ, toString, x, y, z
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
exec, exec, extraArgs, extraArgsBuff, extraArgsDataBuff, init, isExecSpecial, isPassThrough, n, numProcessed, setExtraArgs, setN, setX, setY, setZ, x, y, z
public BernoulliDistribution()
public BernoulliDistribution(@NonNull INDArray z, double prob)
z
- Copyright © 2017. All rights reserved.