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
add_white_noise(u::AbstractArray{T}, Σ::AbstractMatrix{T}) where {T<:AbstractFloat} = u + combinedims(rand(MvNormal(zeros(eltype(u),size(u,1)), Σ),size(u)[2:end]))
The text was updated successfully, but these errors were encountered:
prittjam
changed the title
tensor cast for remaining dimensions, e.g, add noise to a tensor of column vectors
tensor cast for remaining n-1 dimensions, e.g, add noise to a tensor of column vectors
Oct 9, 2022
prittjam
changed the title
tensor cast for remaining n-1 dimensions, e.g, add noise to a tensor of column vectors
@cast for remaining n-1 dimensions, e.g, add noise to a tensor of column vectors
Oct 9, 2022
I'm not certain I know what this is doing, but in general everything in TensorCast needs to know ndims in advance. Have not explored how hard it would be to add some kind of A[i, j..., k] feature.
is there a way to achieve this with TensorCast?
The text was updated successfully, but these errors were encountered: