TensorInference v0.6.0
Breaking changes
- Changed the
mars
keyword ofTensorNetworkModel
argument tounity_tensors_labels
to be more accurate. - Changed the
vars
field ofTensorNetworkModel
tonvars
. It seems not nessesary to name the variables. - Removed a lot of unused interfaces for
TensorNetworkModel
. - Move the autodiff related feastures to
OMEinsum
.
The following APIs are added:
BeliefPropgation
: create a belief propagation model instance, which can be derived from the UAI model.belief_propagate
: perform message passing until convergence, returns a BPState object and extra info.random_tensor_train_uai
andrandom_matrix_product_uai
: two UAI models for testing.
Merged pull requests:
- Implement Belief propagation as a new inference backend (#97) (@GiggleLiu)
Closed issues:
- Precompilation is commented out (#64)