You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know the issue with splatting was addressed here, but I am having a trouble with it, when running the infer function with the provided PCA model (see below). The following error is encountered:
I think its a real issue, but should be fixable. We need to define iterate, which probably should reuse some code from Base.broadcastable(ref::VariableRef) (it may even call broadcastable?). We may had some justification for not including iterate on VariableRef, but I cannot recall it.
@bvdmitri the problem when I try to define iterate for VariableRef is that under the hood proxylabel(name, v..., nothing, False()) will be called, which splats out the variable we want to splat inside the proxylabel function. Do you have an idea how to fix this? I was thinking we maybe fix the argument order of proxylabel to include a dispatch option on Vararg, but it is an ugly solution I do not like. What do you think? An alternative viable strategy?
I know the issue with splatting was addressed here, but I am having a trouble with it, when running the
infer
function with the provided PCA model (see below). The following error is encountered:The error occurs at the line:
GraphPPL.jl/src/model_macro.jl
Line 542 in b3ae2a6
The minimum code example to reproduce the error:
The issue appears to be related to the splatting of the
w
array in thePCA_block
function.The text was updated successfully, but these errors were encountered: