Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Creates a normal (also called Gaussian) distribution parameterized by
loc
and scale
.
Example:
>>>
m = Normal (asTensor ([0.0] :: [Float])) (asTensor ([1.0] :: [Float]))
>>>
sample m []
Tensor Float [1] [-0.1205 ]
Instances
Show Normal Source # | |
Distribution Normal Source # | |
Defined in Normal |