Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 0.41.4

Improve docs (in particular, make sure that outer constructors of structs also appear in the built docs).

# 0.41.3

Add a lower-level constructor for `LogDensityFunction` which directly takes a VNT of `RangeAndTransform`s plus a sample vectorised input.
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "DynamicPPL"
uuid = "366bfd00-2699-11ea-058f-f148b4cae6d8"
version = "0.41.3"
version = "0.41.4"

[deps]
ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"
Expand Down
6 changes: 5 additions & 1 deletion docs/src/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ logjoint
The [LogDensityProblems.jl](https://github.com/tpapp/LogDensityProblems.jl) interface is also supported by wrapping a [`Model`](@ref) in a `DynamicPPL.LogDensityFunction`.

```@docs
LogDensityFunction(::Model, ::Any, ::VarNamedTuple)
LogDensityFunction
RangeAndTransform
get_range_and_transform
Expand Down Expand Up @@ -580,7 +581,10 @@ It is a fairly common operation to want to convert a collection of `VarInfo` obj
This can be accomplished by first converting each `VarInfo` into a `ParamsWithStats` object:

```@docs
DynamicPPL.ParamsWithStats
ParamsWithStats
ParamsWithStats(::AbstractInitStrategy, ::Model)
ParamsWithStats(::AbstractVarInfo)
ParamsWithStats(::AbstractVector, ::LogDensityFunction)
```

Once you have a **matrix** of these, you can convert them into a chains object using:
Expand Down
Loading