TensorBFS / TensorInference.jl

Probabilistic inference using contraction of tensor networks
https://tensorbfs.github.io/TensorInference.jl/
MIT License
18 stars 2 forks source link

Fix show method for the MMAP model #95

Closed GiggleLiu closed 2 months ago

GiggleLiu commented 2 months ago

fix #93

julia> mmap = MMAPModel(model, evidence=Dict(1 => 1, 8 => 1), queryvars=[4, 7])
MMAPModel{Int64, Array{Float64}}
variables: 1 (evidence → 1), 4, 7, 8 (evidence → 1)
query variables: 4, 7
contraction time = 2^29.356, space = 2^20.0, read-write = 2^22.673