Skip to content

Conversation

@DhairyaLGandhi
Copy link
Member

Following discussion in FluxML/Flux.jl#1272, #224, it is best to have a better pattern to introduce vectorisation in a more formal manner.

This reverts #199 for the time being.

end

for f in (, :tanh)
@eval Base.broadcasted(::typeof($f), x::Array{T, N}) where {T <: Union{Float64, Float32}, N} = vmap($f, x)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is also some aggressive piracy that is good to get rid of

@DhairyaLGandhi
Copy link
Member Author

Travis still seems to add LV in the test suite. Any idea why?

@DhairyaLGandhi
Copy link
Member Author

DhairyaLGandhi commented Jul 30, 2020

Any major changes apart from conflicts needed here? I think it's good to go otherwise. cc @CarloLucibello

@CarloLucibello
Copy link
Member

ok, let's do this. Then we need some proper discussion on how to reorganize the code in JuliaML

@CarloLucibello CarloLucibello merged commit 2e1fa5f into FluxML:master Aug 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants