We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
See aicenter/GenerativeModels.jl#72
I think the issue is in the functor definition. Now we have CMeanGaussian{V,S,M}, where M is the type of mapping. But consider this:
CMeanGaussian{V,S,M}
M
julia> m = Dense(3,2) Dense(3, 2) julia> typeof(m) Dense{typeof(identity),Array{Float32,2},Array{Float32,1}} julia> m = m |> gpu Dense(3, 2) julia> typeof(m) Dense{typeof(identity),CuArray{Float32,2,Nothing},CuArray{Float32,1,Nothing}}
Clearly, the type changes when moving to the gpu. However, in the functor redefinition, the type M is static.
The text was updated successfully, but these errors were encountered:
closed with #12
Sorry, something went wrong.
No branches or pull requests
See aicenter/GenerativeModels.jl#72
I think the issue is in the functor definition. Now we have
CMeanGaussian{V,S,M}
, whereM
is the type of mapping. But consider this:Clearly, the type changes when moving to the gpu. However, in the functor redefinition, the type
M
is static.The text was updated successfully, but these errors were encountered: