Hi, in the code below for multiplying a matrix with a vector:
let dim, dim2 = Range(10), Range(10)
let v = Variable.VectorGaussianFromMeanAndVariance(Vector.Zero(10) , PositiveDefiniteMatrix.Identity(10))
let W = Variable.Array<double>(dim,dim2)
W[dim, dim2] <- Variable.GaussianFromMeanAndPrecision(0.0, 1.0).ForEach(dim, dim2)
let r = Variable.MatrixTimesVector(Z, v)
engine.Infer r
I get an error A is not a point mass and I'm not sure how to interpret it. Is it required that Z be observed or a constant?
Hi, in the code below for multiplying a matrix with a vector:
I get an error
A is not a point mass
and I'm not sure how to interpret it. Is it required thatZ
be observed or a constant?