public class Cauchy extends java.lang.Object implements ContinuousDistribution
Modifier and Type | Method and Description |
---|---|
Diffs |
dLogProb(DoubleTensor x) |
DoubleTensor |
logProb(DoubleTensor x) |
static DoubleVertex |
logProbOutput(DoublePlaceholderVertex x,
DoublePlaceholderVertex location,
DoublePlaceholderVertex scale) |
DoubleTensor |
sample(long[] shape,
KeanuRandom random) |
static Cauchy |
withParameters(DoubleTensor location,
DoubleTensor scale) |
public static Cauchy withParameters(DoubleTensor location, DoubleTensor scale)
public DoubleTensor sample(long[] shape, KeanuRandom random)
sample
in interface Distribution<DoubleTensor>
public DoubleTensor logProb(DoubleTensor x)
logProb
in interface Distribution<DoubleTensor>
public static DoubleVertex logProbOutput(DoublePlaceholderVertex x, DoublePlaceholderVertex location, DoublePlaceholderVertex scale)
public Diffs dLogProb(DoubleTensor x)