Inference with build-in LP solver using GLPK backend.
Parameters : | unary_potentials : nd-array
pairwise_potentials : nd-array
edges : nd-array
relaxed : bool (default=False)
return_energy : bool (default=False)
|
---|---|
Returns : | labels : nd-array
|